Hotfix for (#174)
parent
281398373e
commit
9e70db57c5
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue