Fix TypeError: start_onion_service() takes from 1 to 3 positional arguments but 4 were given

This commit is contained in:
Miguel Jacq 2019-11-11 17:47:03 +11:00
parent 28bc37d16f
commit a51fd596fe
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -33,7 +33,7 @@ class MyOnion:
self.scheduled_key = None
@staticmethod
def start_onion_service(self, await_publication=True, save_scheduled_key=False):
def start_onion_service(self, mode_settings_obj, await_publication=True, save_scheduled_key=False):
return "test_service_id.onion"