Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
SnoutBug authored May 21, 2022
1 parent dbd6bd5 commit fa9eaad
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions auto_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,11 @@ def md5(fname):
# texture missing or changed
try:
for mod in repodb['mods']:
mod_id = str(repodb['mods'][mod]['modData'].get('resource_id'))
mod_title = str(repodb['mods'][mod]['modData'].get('title'))
try:
mod_id = str(repodb['mods'][mod]['modData'].get('resource_id'))
mod_title = str(repodb['mods'][mod]['modData'].get('title'))
except:
continue
if mod_id in tags:
print('Verifying ' + mod_title)
hash_url = 'https://github.com/SnoutBug/BeamNG_terrainMaterialCache/releases/download/' + mod_id + '/md5.txt'
Expand Down

0 comments on commit fa9eaad

Please sign in to comment.