diff options
author | Micah Lee <micah@micahflee.com> | 2019-09-01 16:03:57 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-09-01 16:03:57 -0700 |
commit | e7959f9ae655d47133be7162cbb51209dead0744 (patch) | |
tree | 1f3b4cee9fda1992a152dc3b36c3a83da8cfe8b3 /onionshare_gui | |
parent | a0759cedcd085d150d70a111629e4940f76e4f85 (diff) | |
download | onionshare-e7959f9ae655d47133be7162cbb51209dead0744.tar.gz onionshare-e7959f9ae655d47133be7162cbb51209dead0744.zip |
Add Web.generate_static_url_path back, so each share has its own static path
Diffstat (limited to 'onionshare_gui')
-rw-r--r-- | onionshare_gui/threads.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/onionshare_gui/threads.py b/onionshare_gui/threads.py index bee1b6bc..57e0f0af 100644 --- a/onionshare_gui/threads.py +++ b/onionshare_gui/threads.py @@ -42,6 +42,9 @@ class OnionThread(QtCore.QThread): def run(self): self.mode.common.log('OnionThread', 'run') + # Make a new static URL path for each new share + self.mode.web.generate_static_url_path() + # Choose port and password early, because we need them to exist in advance for scheduled shares self.mode.app.stay_open = not self.mode.common.settings.get('close_after_first_download') if not self.mode.app.port: |