Commit a852dcb1 authored by Yori 'AGy' Fournier's avatar Yori 'AGy' Fournier
Browse files

Now readData working properly

Status handling was wrong.
parent 682f49d8
......@@ -135,8 +135,10 @@ class MplClient(object):
print(SEVR+'could not Exctract the receipt.')
print(SEVR+'Received: '+str(answer))
status = eval(status)
if not status:
print(SEVR+str(errmsg))
print(SEVR+"SERVER: "+str(errmsg))
return(status)
......@@ -170,10 +172,12 @@ class MplClient(object):
except:
print(SEVR+'could not Exctract the status.')
status = eval(status)
if not status:
print(SEVR+str(errmsg))
print(SEVR+"SERVER: "+str(errmsg))
return(answer)
return(status)
# NEW SYNC FIGURE --------------------------------------------------
def newSyncFigure(self, figClass, symbolicRawdata, **kwargs):
......
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