Skip to content

Commit

Permalink
fix print
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad88me committed Mar 24, 2021
1 parent 3d27f12 commit 4ff2f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def editor():
logger.debug(headers_str_test)
detected_encoding = chardet.detect(headers_str_test)['encoding']
logger.debug("detected encoding %s " % (detected_encoding))
decoded_s = header_str.decode(detected_encoding)
decoded_s = headers_str_test.decode(detected_encoding)
headers_str_test = decoded_s.encode('utf-8')
logger.debug("headers utf-8 encoded: ")
logger.debug(headers_str_test)
Expand Down

0 comments on commit 4ff2f8e

Please sign in to comment.