mirror of
https://github.com/onionshare/onionshare.git
synced 2025-04-11 10:39:21 -04:00
Fix bug in OnionStub, the stub used in settings dialog tests
This commit is contained in:
parent
f9e6e6964c
commit
dc24b5ecd3
@ -14,7 +14,7 @@ from onionshare_gui.settings_dialog import SettingsDialog
|
||||
class OnionStub(object):
|
||||
def __init__(self, is_authenticated, supports_v3_onions=False):
|
||||
self._is_authenticated = is_authenticated
|
||||
self.supports_v3_onions = True
|
||||
self.supports_v3_onions = supports_v3_onions
|
||||
|
||||
def is_authenticated(self):
|
||||
return self._is_authenticated
|
||||
|
Loading…
x
Reference in New Issue
Block a user