--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 <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
59b712ecbc
commit
034c55a278
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user