the on_yes handler of YesNoDialog don't take any argument. fixes #3712
This commit is contained in:
parent
7e88b7608a
commit
dbaac78ef5
|
@ -2248,7 +2248,7 @@ class Interface:
|
||||||
|
|
||||||
def handle_event_fingerprint_error(self, account, data):
|
def handle_event_fingerprint_error(self, account, data):
|
||||||
# ('FINGERPRINT_ERROR', account, (fingerprint,))
|
# ('FINGERPRINT_ERROR', account, (fingerprint,))
|
||||||
def on_yes(widget):
|
def on_yes():
|
||||||
dialog.destroy()
|
dialog.destroy()
|
||||||
gajim.config.set_per('accounts', account, 'ssl_fingerprint_sha1',
|
gajim.config.set_per('accounts', account, 'ssl_fingerprint_sha1',
|
||||||
data[0])
|
data[0])
|
||||||
|
|
Loading…
Reference in New Issue