Skip to content

Commit

Permalink
Check if console_type is None.
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Nov 1, 2019
1 parent 8095fef commit b2fe7eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gns3/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def consoleCommand(self, console_type=None):
from .main_window import MainWindow
general_settings = MainWindow.instance().settings()

if console_type != "telnet":
if console_type and console_type != "telnet":
console_type = self.consoleType()
if console_type == "vnc":
return general_settings["vnc_console_command"]
Expand Down

0 comments on commit b2fe7eb

Please sign in to comment.