Don't attempt to load app from local_repo while publishing
This commit is contained in:
parent
42bdace8f6
commit
55ee03079f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user