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

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

parent 48f287a7
...@@ -118,8 +118,8 @@ def plots(): ...@@ -118,8 +118,8 @@ def plots():
ptr.settings( x_bytes ) ptr.settings( x_bytes )
data= os.path.join(upath,'simulator-plot.txt') data= os.path.join(upath,'simulator-plot.txt')
with open(data) as f: f=open(data,encoding="utf-8")
ofi= json.load(f) ofi= json.load(f)
response = { response = {
'chartConfig': ofi 'chartConfig': ofi
......
...@@ -32,7 +32,7 @@ COPY generator-linux-x86_64 /home/pspa/softwares/generator ...@@ -32,7 +32,7 @@ COPY generator-linux-x86_64 /home/pspa/softwares/generator
COPY defns.rpn /home/pspa/softwares/defns.rpn COPY defns.rpn /home/pspa/softwares/defns.rpn
COPY elegant-linux-x86_64 /home/pspa/softwares/elegant COPY elegant-linux-x86_64 /home/pspa/softwares/elegant
COPY sddsprintout-linux-x86_64 /home/pspa/softwares/sddsprintout 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 RPN_DEFNS /home/pspa/softwares/defns.rpn
ENV LIBPATH /usr/lib/x86_64-linux-gnu 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