mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-25 23:10:38 -04:00
Fix bug in OnionStub, the stub used in settings dialog tests
This commit is contained in:
parent
f9e6e6964c
commit
dc24b5ecd3
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ from onionshare_gui.settings_dialog import SettingsDialog
|
||||||
class OnionStub(object):
|
class OnionStub(object):
|
||||||
def __init__(self, is_authenticated, supports_v3_onions=False):
|
def __init__(self, is_authenticated, supports_v3_onions=False):
|
||||||
self._is_authenticated = is_authenticated
|
self._is_authenticated = is_authenticated
|
||||||
self.supports_v3_onions = True
|
self.supports_v3_onions = supports_v3_onions
|
||||||
|
|
||||||
def is_authenticated(self):
|
def is_authenticated(self):
|
||||||
return self._is_authenticated
|
return self._is_authenticated
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue