Add running project check for fast duplication

This commit is contained in:
YueGuobin committed 2026-06-03 12:20:26 +08:00
1 parent b6e1f84740
commit 7ab04a0f9a
1 file changed
-3
-3
View File
@@ -1334,9 +1334,6 @@ class Project:
self.dump()
assert self._status != "closed"
if self.is_running():
raise ControllerError("Project must be stopped in order to duplicate it")
try:
proj = await self._fast_duplication(name, reset_mac_addresses)
if proj: