Skip to content

Commit

Permalink
Update script
Browse files Browse the repository at this point in the history
  • Loading branch information
oureveryday committed Jan 6, 2025
1 parent 7e32a92 commit 26e0f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/storage_depotdownloadermod.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ async def main(app_id: str, repos: list) -> bool:
if selected_repo == 'luckygametools/steam-cfg':
url = f'https://api.github.com/repos/{selected_repo}/contents/steamdb2/{app_id}'
r_json = await fetch_info(url, headers)
if (r_json) and ('sha' in r_json[0]):
if (r_json) and (isinstance(r_json, list)):
path = [item['path'] for item in r_json if item['name'] == '00000encrypt.dat'][0]
manifests = await get_data(app_id, path, selected_repo)
await depotdownloadermod_add(app_id, manifests)
Expand Down

0 comments on commit 26e0f7c

Please sign in to comment.