Skip to content

Commit

Permalink
Fix Format in !info files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalanyr committed Jul 19, 2017
1 parent d567350 commit da51056
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gogrepo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1139,19 +1139,19 @@ def gigs(b):
fd_info.write(u'{0}{1}{0}'.format(os.linesep, html2text(gog_msg).strip()))
fd_info.write(u'{0}game items.....:{0}{0}'.format(os.linesep))
if len(item.downloads) > 0:
fd_info.write(u'{0}standalone.........:{0}{0}'.format(os.linesep))
fd_info.write(u'{0}..standalone...:{0}{0}'.format(os.linesep))
for game_item in item.downloads:
fd_info.write(u' [{}] -- {}{}'.format(game_item.name, game_item.desc, os.linesep))
if game_item.version:
fd_info.write(u' version: {}{}'.format(game_item.version, os.linesep))
if len(item.galaxyDownloads) > 0:
fd_info.write(u'{0}galaxy.........:{0}{0}'.format(os.linesep))
fd_info.write(u'{0}..galaxy.......:{0}{0}'.format(os.linesep))
for game_item in item.galaxyDownloads:
fd_info.write(u' [{}] -- {}{}'.format(game_item.name, game_item.desc, os.linesep))
if game_item.version:
fd_info.write(u' version: {}{}'.format(game_item.version, os.linesep))
if len(item.sharedDownloads) > 0:
fd_info.write(u'{0}shared.........:{0}{0}'.format(os.linesep))
fd_info.write(u'{0}..shared.......:{0}{0}'.format(os.linesep))
for game_item in item.sharedDownloads:
fd_info.write(u' [{}] -- {}{}'.format(game_item.name, game_item.desc, os.linesep))
if game_item.version:
Expand Down

0 comments on commit da51056

Please sign in to comment.