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')