summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-01 23:18:44 +0200
committermathieui <mathieui@mathieui.net>2014-04-01 23:18:44 +0200
commit09254dabc7b1736380ab09119aca9833c0ce9683 (patch)
treeac56af228ae498172a882b7b6475e693032550b1
parent3c688335af10db87ee59955b25fd97425151cb01 (diff)
downloadpoezio-09254dabc7b1736380ab09119aca9833c0ce9683.tar.gz
poezio-09254dabc7b1736380ab09119aca9833c0ce9683.tar.bz2
poezio-09254dabc7b1736380ab09119aca9833c0ce9683.tar.xz
poezio-09254dabc7b1736380ab09119aca9833c0ce9683.zip
Fix the roster offline show toggle
-rw-r--r--src/tabs/rostertab.py2
1 files changed, 1 insertions, 1 deletions
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')