Don't attempt to load app from local_repo while publishing

This commit is contained in:
Disassembler 2020-04-03 23:46:35 +02:00
parent 42bdace8f6
commit 55ee03079f
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -82,7 +82,7 @@ def publish(filename, force):
app_name = os.path.basename(os.path.dirname(os.path.abspath(filename)))
# Check if publishing is needed and attempt to publish the application
if force or app_name not in repo_publish.get_apps():
app = App(app_name, False)
app = App(app_name, False, False)
print(f'Publishing application {app_name} from file {os.path.abspath(filename)}')
app.unpublish()
size, dlsize = app.publish(filename)