From 0657800eca4da3385024e022f13a99c53928d4ab Mon Sep 17 00:00:00 2001 From: Bezleputh Date: Thu, 30 Oct 2014 15:34:30 +0100 Subject: [PATCH] [flatboob] display backend in city choice we need to know this because of a restriction on the number of cities in some backends. --- weboob/applications/flatboob/flatboob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/applications/flatboob/flatboob.py b/weboob/applications/flatboob/flatboob.py index 99a06ff6..f96e2555 100644 --- a/weboob/applications/flatboob/flatboob.py +++ b/weboob/applications/flatboob/flatboob.py @@ -132,7 +132,7 @@ class Flatboob(ReplApplication): r = 'notempty' while r != '': for i, city in enumerate(cities): - print(' %s%2d)%s [%s] %s' % (self.BOLD, i+1, self.NC, 'x' if city in query.cities else ' ', city.name)) + print(' %s%2d)%s [%s] %s (%s)' % (self.BOLD, i+1, self.NC, 'x' if city in query.cities else ' ', city.name, city.backend)) r = self.ask(' Select cities (or empty to stop)', regexp='(\d+|)', default='') if not r.isdigit(): continue