Update dependencies

This commit is contained in:
Alexander Graf
2021-07-24 19:37:30 +02:00
parent 2c116683c2
commit c45b536be9
5 changed files with 98 additions and 77 deletions

View File

@@ -1707,6 +1707,7 @@ def load_structure_from_file(context: InstaloaderContext, filename: str) -> Json
if compressed:
fp = lzma.open(filename, 'rt')
else:
# pylint:disable=consider-using-with
fp = open(filename, 'rt')
json_structure = json.load(fp)
fp.close()