Commit 1b74c317 authored by Valentin Valls's avatar Valentin Valls
Browse files

Fix reuse custom plot from an id

parent 89a591d8
......@@ -460,6 +460,9 @@ class FlintClient:
return plot_class(flint=self, plot_id=unique_name)
if unique_name is not None:
if isinstance(unique_name, int):
flint_plot_id = unique_name
flint_plot_id = self._plot_mapping.get(unique_name, None)
if flint_plot_id is not None:
if self.is_plot_exists(flint_plot_id):
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