From 9c11d6b65ddd31776974f224951a13447e18a5c8 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sat, 8 Feb 2014 17:57:26 +0100 Subject: [PATCH] fix crash in interactive mode --- weboob/applications/boobtracker/boobtracker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/weboob/applications/boobtracker/boobtracker.py b/weboob/applications/boobtracker/boobtracker.py index e5dbe982..3bb307cc 100644 --- a/weboob/applications/boobtracker/boobtracker.py +++ b/weboob/applications/boobtracker/boobtracker.py @@ -270,6 +270,7 @@ class BoobTracker(ReplApplication): sender = os.environ.get('USERNAME', 'boobtracker') output = u'From: %s\n' % sender for key, (list_name, is_list_object) in self.ISSUE_FIELDS: + value = None if not self.interactive: value = getattr(self.options, key) if not value: