panctl: Handle an empty command string properly.

This commit is contained in:
Damir Jelić 2019-05-09 10:54:42 +02:00
parent 1d2d0d6bba
commit 10bb16b210

View File

@ -222,6 +222,9 @@ class PanCtl:
args = words[1:]
self.confirm_sas(args)
elif not command:
continue
else:
print(f"Unknown command {command}.")