mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-09 06:37:55 -05:00
panctl: Handle an empty command string properly.
This commit is contained in:
parent
1d2d0d6bba
commit
10bb16b210
@ -222,6 +222,9 @@ class PanCtl:
|
|||||||
args = words[1:]
|
args = words[1:]
|
||||||
self.confirm_sas(args)
|
self.confirm_sas(args)
|
||||||
|
|
||||||
|
elif not command:
|
||||||
|
continue
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print(f"Unknown command {command}.")
|
print(f"Unknown command {command}.")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user