Commit 5772ac56 authored by Yori Fournier's avatar Yori Fournier
Browse files

Merge branch '101-for_dev' into 'dev'

Resolve "[BUG]: de_sync_fig failing: ID is not string"

Closes #101

See merge request !69
parents c2cd1b3b c4028bc0
Pipeline #685 canceled with stage
......@@ -297,10 +297,10 @@ class MplServer(SocketServer.TCPServer):
fig = self._figures.get(fig_id,None)
if fig is None:
if debug:
print(WARN + "The figure ID: " + fig_id + " does not exist.")
print(WARN + "The figure ID: " + str(fig_id) + " does not exist.")
return Status(False, "The figure ID: "
+ fig_id + " does not exist.")
+ str(fig_id) + " does not exist.")
elif isinstance(fig, MplFig):
if debug:
print('Figure ', fig_id, ' found in database')
print('Figure ' + str(fig_id) + ' found in database')
return fig
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