mirror of
https://github.com/runcitadel/core.git
synced 2024-11-11 16:30:38 +00:00
Fix bug
This commit is contained in:
parent
758b5b15c7
commit
5e63400bb3
|
@ -144,7 +144,7 @@ def startInstalled():
|
|||
userData = json.load(f)
|
||||
#threads = []
|
||||
for app in userData["installedApps"]:
|
||||
if not os.isdir(os.path.join(appsDir, app)):
|
||||
if not os.path.isdir(os.path.join(appsDir, app)):
|
||||
print("Warning: App {} doesn't exist on Citadel".format(app))
|
||||
continue
|
||||
print("Starting app {}...".format(app))
|
||||
|
@ -164,7 +164,7 @@ def stopInstalled():
|
|||
userData = json.load(f)
|
||||
threads = []
|
||||
for app in userData["installedApps"]:
|
||||
if not os.isdir(os.path.join(appsDir, app)):
|
||||
if not os.path.isdir(os.path.join(appsDir, app)):
|
||||
print("Warning: App {} doesn't exist on Citadel".format(app))
|
||||
continue
|
||||
print("Stopping app {}...".format(app))
|
||||
|
@ -195,7 +195,7 @@ def getApp(appFile: str, appId: str):
|
|||
|
||||
|
||||
def compose(app, arguments):
|
||||
if not os.isdir(os.path.join(appsDir, app)):
|
||||
if not os.path.isdir(os.path.join(appsDir, app)):
|
||||
print("Warning: App {} doesn't exist on Citadel".format(app))
|
||||
return
|
||||
# Runs a compose command in the app dir
|
||||
|
|
Loading…
Reference in New Issue
Block a user