mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
1 file changed
+3
-2
@@ -129,8 +129,9 @@ class DockerVM(BaseVM):
|
||||
|
||||
@start_command.setter
|
||||
def start_command(self, command):
|
||||
command = command.strip()
|
||||
if len(command) == 0:
|
||||
if command:
|
||||
command = command.strip()
|
||||
if command is None or len(command) == 0:
|
||||
self._start_command = None
|
||||
else:
|
||||
self._start_command = command
|
||||
|
||||
Reference in new issue
Block a user