mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 08:48:11 +00:00
parent
009ffcb4ef
commit
6f7b06e66f
@ -129,8 +129,9 @@ class DockerVM(BaseVM):
|
|||||||
|
|
||||||
@start_command.setter
|
@start_command.setter
|
||||||
def start_command(self, command):
|
def start_command(self, command):
|
||||||
command = command.strip()
|
if command:
|
||||||
if len(command) == 0:
|
command = command.strip()
|
||||||
|
if command is None or len(command) == 0:
|
||||||
self._start_command = None
|
self._start_command = None
|
||||||
else:
|
else:
|
||||||
self._start_command = command
|
self._start_command = command
|
||||||
|
Loading…
Reference in New Issue
Block a user