Commit 2b212e29 authored by TOUZE Francois's avatar TOUZE Francois
Browse files

fix UnicodeDecodeError: 'ascii' codec can't decode byte

parent 48f287a7
......@@ -118,7 +118,7 @@ def plots():
ptr.settings( x_bytes )
data= os.path.join(upath,'simulator-plot.txt')
with open(data) as f:
f=open(data,encoding="utf-8")
ofi= json.load(f)
response = {
......
......@@ -32,7 +32,7 @@ COPY generator-linux-x86_64 /home/pspa/softwares/generator
COPY defns.rpn /home/pspa/softwares/defns.rpn
COPY elegant-linux-x86_64 /home/pspa/softwares/elegant
COPY sddsprintout-linux-x86_64 /home/pspa/softwares/sddsprintout
COPY betabatchbin /home/pspa/softwares/betabatchbin
COPY betabatchbin /home/pspa/softwares/betabatch
ENV RPN_DEFNS /home/pspa/softwares/defns.rpn
ENV LIBPATH /usr/lib/x86_64-linux-gnu
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment