Fix issue when restoring a snapshot of a duplicated project

This commit is contained in:
grossmj committed 2026-04-08 22:16:47 +08:00
1 parent 6869f2d71d
commit fbea9b655d
4 files changed
+48 -28

No files matched your search

+1 -1
View File
@@ -959,7 +959,7 @@ class Project:
Load topology elements
"""
if self._closing is True:
if self._closing:
raise aiohttp.web.HTTPConflict(text="Project is closing, please try again in a few seconds...")
if self._status == "opened":