mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-31 18:26:12 -05:00
Merge branch 'fix_persistent_url' of https://github.com/mig5/onionshare into mig5-fix_persistent_url
This commit is contained in:
commit
ae75624c0d
@ -79,7 +79,6 @@ def main(cwd=None):
|
||||
|
||||
|
||||
settings = Settings(config)
|
||||
settings.load()
|
||||
|
||||
# Start the Onion object
|
||||
onion = Onion()
|
||||
@ -129,6 +128,7 @@ def main(cwd=None):
|
||||
app.shutdown_timer.start()
|
||||
|
||||
# Save the web slug if we are using a persistent private key
|
||||
settings.load()
|
||||
if settings.get('save_private_key'):
|
||||
if not settings.get('slug'):
|
||||
settings.set('slug', web.slug)
|
||||
|
Loading…
Reference in New Issue
Block a user