Hotfix for (#174)

pull/196/head
BlafKing 2024-01-18 19:58:47 +01:00
parent 281398373e
commit 9e70db57c5
No known key found for this signature in database
GPG Key ID: A9D76ED8B662BAC9
2 changed files with 0 additions and 2 deletions

View File

@ -250,7 +250,6 @@ def download_finish(model_filename, version, model_id):
def download_cancel():
gl.cancel_status = True
gl.download_fail = True
if gl.download_queue:
item = gl.download_queue[0]

View File

@ -534,7 +534,6 @@ def get_models(file_path, gen_hash=None):
modelId = None
sha256 = None
json_file = os.path.splitext(file_path)[0] + ".json"
if os.path.exists(json_file):
try:
with open(json_file, 'r') as f: