Skip to content

Commit

Permalink
Allow long title directories with verify command
Browse files Browse the repository at this point in the history
  • Loading branch information
gatl committed Jan 18, 2020
1 parent 9e32572 commit 6d1fa78
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gogrepo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2109,8 +2109,10 @@ def cmd_verify(gamedir, skipextras, skipids, check_md5, check_filesize, check_zi
item_count += 1

itm_dirpath = os.path.join(game.title, itm.name)
itm_file = os.path.join(gamedir, game.title, itm.name)

if LONGTITLE_DIR:
itm_file = os.path.join(gamedir, game.long_title, itm.name)
else:
itm_file = os.path.join(gamedir, game.title, itm.name)


if os.path.isfile(itm_file):
Expand Down

0 comments on commit 6d1fa78

Please sign in to comment.