From d8aee3a8d0cd9b37d99912c5364aca9226e27769 Mon Sep 17 00:00:00 2001 From: Jian Li Date: Sat, 29 Aug 2020 01:56:30 -0400 Subject: [PATCH] add a verbose message --- cuefix/cuefix.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cuefix/cuefix.py b/cuefix/cuefix.py index 52bc25c..d9e263c 100644 --- a/cuefix/cuefix.py +++ b/cuefix/cuefix.py @@ -63,6 +63,8 @@ def detect_file_encoding(self): log.info('found encoding: {}'.format(c)) if self.interactive: if c == 'ascii': + if self.verbose: + log.info('woohoo! skip prompt!') return c print(decoded) print('encoding: {}', c)