summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2021-06-13 12:53:00 +0200
committeremkael <emkael@tlen.pl>2021-06-13 12:53:00 +0200
commit29942b7ea5ceb06847caff9e63e077eb29aec50b (patch)
tree4e2cfad3872ce2dfa0f2d284193ed3d2dfed182d
parent7387540c8a6c59b818bfaab04bda4fba0408af9a (diff)
Setting sys.stdin.encoding for Python script
-rwxr-xr-xscripts/generate.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/generate.sh b/scripts/generate.sh
index 4a42d36..36d6e01 100755
--- a/scripts/generate.sh
+++ b/scripts/generate.sh
@@ -1,6 +1,7 @@
#!/bin/bash
cd $(dirname $0)
cd ..
+export PYTHONIOENCODING=utf-8
cat scripts/.groups | while read GROUP
do
python2 scripts/jfrteamy-playoff/playoff.py $GROUP.jtpo -v