summaryrefslogtreecommitdiff
path: root/portato/session.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/session.py4
1 files changed, 2 insertions, 2 deletions
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):