From 55ee03079fc8c6d0f5f74a734943b76b6f0ed929 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 3 Apr 2020 23:46:35 +0200 Subject: [PATCH] Don't attempt to load app from local_repo while publishing --- usr/bin/spoc-app | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/spoc-app b/usr/bin/spoc-app index 14a152f..8285b9e 100755 --- a/usr/bin/spoc-app +++ b/usr/bin/spoc-app @@ -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)