From 09254dabc7b1736380ab09119aca9833c0ce9683 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 1 Apr 2014 23:18:44 +0200 Subject: [PATCH] Fix the roster offline show toggle --- src/tabs/rostertab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabs/rostertab.py b/src/tabs/rostertab.py index 199be8f7..a3147112 100644 --- a/src/tabs/rostertab.py +++ b/src/tabs/rostertab.py @@ -729,7 +729,7 @@ class RosterInfoTab(Tab): """ option = 'roster_show_offline' value = config.get(option, False) - success = config.silent_set(option, not value) + success = config.silent_set(option, str(not value)) roster.modified() if not success: self.core.information(_('Unable to write in the config file'), 'Error')