From 034c55a278e13c9a0b417447795681e0f64a34ae Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Fri, 22 Jul 2016 01:40:37 +0200 Subject: [PATCH] --info: allow user to enter a password Change from basic UI to ttyui. Github-fix: https://github.com/OfflineIMAP/offlineimap/issues/352 Signed-off-by: Nicolas Sebrecht --- offlineimap/init.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/offlineimap/init.py b/offlineimap/init.py index f2540bf..639c1b9 100644 --- a/offlineimap/init.py +++ b/offlineimap/init.py @@ -238,7 +238,8 @@ class OfflineImap(object): # TODO, make use of chosen ui for logging logging.warning('Using old interface name, consider using one ' 'of %s'% ', '.join(UI_LIST.keys())) - if options.diagnostics: ui_type = 'basic' # enforce basic UI for --info + if options.diagnostics: + ui_type = 'ttyui' # Enforce this UI for --info. # dry-run? Set [general]dry-run=True. if options.dryrun: