From f9a4a36b341b1d866269f568e86cbf63b90b5f63 Mon Sep 17 00:00:00 2001 From: Necoro <> Date: Mon, 14 Jan 2008 16:45:06 +0000 Subject: r609@Devoty: necoro | 2008-01-14 17:04:38 +0100 Allowed '-' and '_' in key names. Also use group names instead of their number. r610@Devoty: necoro | 2008-01-14 17:05:42 +0100 Disabled saving of the queues r611@Devoty: necoro | 2008-01-14 17:08:53 +0100 Added the possibility to permanently en-/disable plugins r612@Devoty: necoro | 2008-01-14 17:14:09 +0100 adjust changelog and translations r613@Devoty: necoro | 2008-01-14 17:40:53 +0100 Dropdown should be localized too --- portato/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'portato/session.py') diff --git a/portato/session.py b/portato/session.py index 2a049d1..0a61181 100644 --- a/portato/session.py +++ b/portato/session.py @@ -77,9 +77,9 @@ class Session (object): for options, lfn, sfn in self._handlers: vals = sfn() - # map into tuple if necessairy + # map into list if necessairy if not hasattr(vals, "__iter__"): - vals = (vals,) + vals = [vals] debug("Saving %s with values %s", options, vals) for value, (option, section) in zip(vals, options): -- cgit v1.2.3