Skip to content

Commit

Permalink
Workaround cases where hash is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
vinjn committed Jul 19, 2021
1 parent 4be1023 commit dc894b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AssetStudio/pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def process_pkg_csv(filename):
row['OriginalFile'] = OriginalFile
# row['OriginalFile'] = row['OriginalFile'].replace(' ', '_')
if not hash:
hash = row['Type']+row['Dimension']+row['Format']+row['Size']
hash = row['Name']+row['Type']+row['Dimension']+row['Format']+row['Size']
if filename:
file_path = path.join(dir_name, filename)
if path.exists(file_path):
Expand Down

0 comments on commit dc894b3

Please sign in to comment.