Commit 73155fbe authored by Yori Fournier's avatar Yori Fournier
Browse files

Merge branch '101-de_sync_failing' into '_compatible_ppd'

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

See merge request !67
parents 71f0c21d 622277f7
Pipeline #683 failed with stage
in 24 minutes and 4 seconds
......@@ -330,10 +330,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