Fix error while quitting

Fixes #9622
This commit is contained in:
Philipp Hörist 2019-03-16 13:49:58 +01:00
parent 7ba9bc4b04
commit d159a7a1e2
1 changed files with 4 additions and 1 deletions

View File

@ -2501,8 +2501,11 @@ class RosterWindow:
self.send_pep(acct, pep_dict)
def on_continue2(message, pep_dict):
if 'file_transfers' not in app.interface.instances:
on_continue3(message, pep_dict)
return
# check if there is an active file transfer
from gajim.common.protocol.bytestream import (is_transfer_active)
from gajim.common.protocol.bytestream import is_transfer_active
files_props = app.interface.instances['file_transfers'].\
files_props
transfer_active = False