Skip to content

Commit

Permalink
skip prompt if detected encoding is ascii
Browse files Browse the repository at this point in the history
  • Loading branch information
yinyanghu committed Aug 29, 2020
1 parent 0cb1fbc commit 9732ee9
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 @@ -62,6 +62,8 @@ def detect_file_encoding(self):
if self.verbose:
log.info('found encoding: {}'.format(c))
if self.interactive:
if c == 'ascii':
return c
print(decoded)
print('encoding: {}', c)
if feedback():
Expand Down

0 comments on commit 9732ee9

Please sign in to comment.