mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-01 10:56:22 -04:00
Remove unnecessary attribute from OnionShare object
This commit is contained in:
parent
dc0fe4f7b1
commit
040e7e4ca9
1 changed files with 0 additions and 5 deletions
|
@ -41,7 +41,6 @@ class OnionShare(object):
|
||||||
self.onion_host = None
|
self.onion_host = None
|
||||||
self.port = None
|
self.port = None
|
||||||
self.stealth = None
|
self.stealth = None
|
||||||
self.scheduled_key = None
|
|
||||||
|
|
||||||
# files and dirs to delete on shutdown
|
# files and dirs to delete on shutdown
|
||||||
self.cleanup_filenames = []
|
self.cleanup_filenames = []
|
||||||
|
@ -90,15 +89,11 @@ class OnionShare(object):
|
||||||
if self.stealth:
|
if self.stealth:
|
||||||
self.auth_string = self.onion.auth_string
|
self.auth_string = self.onion.auth_string
|
||||||
|
|
||||||
if self.onion.scheduled_key:
|
|
||||||
self.scheduled_key = self.onion.scheduled_key
|
|
||||||
|
|
||||||
def cleanup(self):
|
def cleanup(self):
|
||||||
"""
|
"""
|
||||||
Shut everything down and clean up temporary files, etc.
|
Shut everything down and clean up temporary files, etc.
|
||||||
"""
|
"""
|
||||||
self.common.log('OnionShare', 'cleanup')
|
self.common.log('OnionShare', 'cleanup')
|
||||||
self.scheduled_key = None
|
|
||||||
|
|
||||||
# Cleanup files
|
# Cleanup files
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue