1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-24 07:03:03 +02:00

change case

goodness me...:(
This commit is contained in:
Nick Klauer
2017-09-04 16:38:43 -05:00
committed by GitHub
parent e6e3bfead1
commit 6bc2be4c70

View File

@@ -50,7 +50,7 @@ if not USE_COLOR:
# dont show colors if USE_COLOR is False
ANSI = {k: '' for k in ANSI.keys()}
if sys.stdout.encoding.lower() != 'UTF-8':
if sys.stdout.encoding.upper() != 'UTF-8':
print('[X] Your system is running python3 scripts with a bad locale setting: {} (it should be UTF-8).'.format(sys.stdout.encoding))
print(' To fix it, add the line "export PYTHONIOENCODING=utf8" to your ~/.bashrc file (without quotes)')
print('')