From 82e874ef2c1216599f951526527bd27ac9a344e5 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Thu, 2 Dec 2010 18:34:12 +0100 Subject: [PATCH] fix crash with --mode --- grml-x | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grml-x b/grml-x index 995b4c4..9944737 100755 --- a/grml-x +++ b/grml-x @@ -24,6 +24,8 @@ class Section(object): v = self.data[k] if isinstance(v, list): v = '" "'.join(v) + elif not isinstance(v, basestring): # int, others + v = str(v) elif '-' in v: # sync range pass else: -- 2.1.4