Prompt new site addition in raw mode

This commit is contained in:
shortcutme 2017-07-15 01:32:15 +02:00
parent 6a4882d81d
commit a0d85d7d83
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
4 changed files with 73 additions and 3 deletions

View file

@ -47,7 +47,7 @@ class UiRequestPlugin(object):
if not os.path.isfile(archive_path):
site = self.server.site_manager.get(path_parts["address"])
if not site:
self.error404(path)
return self.actionSiteAddPrompt(path)
# Wait until file downloads
result = site.needFile(site.storage.getInnerPath(archive_path), priority=10)
# Send virutal file path download finished event to remove loading screen