From 9fff6e1343beec818e8ee3ac9aa8dbf225edf3a1 Mon Sep 17 00:00:00 2001 From: Goffi Date: Tue, 20 Dec 2016 21:07:22 +0100 Subject: [PATCH] quick frontend (quick app): fixed use of profile_manager.connected --- frontends/src/quick_frontend/quick_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/src/quick_frontend/quick_app.py b/frontends/src/quick_frontend/quick_app.py index 48d17f1f..3f7baa8c 100644 --- a/frontends/src/quick_frontend/quick_app.py +++ b/frontends/src/quick_frontend/quick_app.py @@ -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)