mirror of
https://github.com/runcitadel/core.git
synced 2024-11-12 00:39:53 +00:00
Fix check
This commit is contained in:
parent
257ab4c777
commit
747bd1fb4c
|
@ -160,7 +160,7 @@ def update(verbose: bool = False):
|
|||
appYml = os.path.join(appsDir, app, "app.yml")
|
||||
with open(appYml, 'r') as f:
|
||||
appDefinition = yaml.safe_load(f)
|
||||
if 'citadel_version' in appDefinition or ('version' in app and str(app['version']) == "3"):
|
||||
if ('citadel_version' in appDefinition) or ('version' in appDefinition and str(appDefinition['version']) == "3"):
|
||||
thread = threading.Thread(target=handleAppV3OrV4, args=(app,))
|
||||
thread.start()
|
||||
threads.append(thread)
|
||||
|
|
Loading…
Reference in New Issue
Block a user