summaryrefslogtreecommitdiff
path: root/poezio/__main__.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-07 14:42:14 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-07 14:42:14 +0200
commite846825fc812cdf48717dd1c156d430101e2f5d0 (patch)
tree44fcd031feddf55d721ac888b82936cf3e0a8919 /poezio/__main__.py
parent0319ce5079bffec5cad9637ee396d489194d63e7 (diff)
downloadpoezio-e846825fc812cdf48717dd1c156d430101e2f5d0.tar.gz
poezio-e846825fc812cdf48717dd1c156d430101e2f5d0.tar.bz2
poezio-e846825fc812cdf48717dd1c156d430101e2f5d0.tar.xz
poezio-e846825fc812cdf48717dd1c156d430101e2f5d0.zip
Add a check for Unicode support.
This makes poezio refuse to run if the environment is known broken.
Diffstat (limited to 'poezio/__main__.py')
-rw-r--r--poezio/__main__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/__main__.py b/poezio/__main__.py
index 1f46f051..d6f60f24 100644
--- a/poezio/__main__.py
+++ b/poezio/__main__.py
@@ -1,7 +1,7 @@
def run():
- from poezio.poezio import main, test_curses, test_env
+ from poezio.poezio import main, test_curses, test_env, test_unicode
- if not test_curses() or not test_env():
+ if not test_curses() or not test_env() or not test_unicode():
import sys
sys.exit(1)
else: