Skip to content

Commit

Permalink
add a verbose message
Browse files Browse the repository at this point in the history
  • Loading branch information
yinyanghu committed Aug 29, 2020
1 parent 9732ee9 commit d8aee3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cuefix/cuefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d8aee3a

Please sign in to comment.