quick frontend (quick app): fixed use of profile_manager.connected
This commit is contained in:
parent
f237685c1a
commit
9fff6e1343
1 changed files with 1 additions and 1 deletions
|
|
@ -908,7 +908,7 @@ class QuickApp(object):
|
|||
"""Must be called when the frontend is terminating"""
|
||||
to_unplug = []
|
||||
for profile, profile_manager in self.profiles.iteritems():
|
||||
if profile_manager.connected(profile) and profile_manager.autodisconnect:
|
||||
if profile_manager.connected and profile_manager.autodisconnect:
|
||||
#The user wants autodisconnection
|
||||
self.disconnect(profile)
|
||||
to_unplug.append(profile)
|
||||
|
|
|
|||
Loading…
Reference in a new issue