mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-09-20 20:54:49 -04:00
panctl: Handle an empty command string properly.
This commit is contained in:
parent
1d2d0d6bba
commit
10bb16b210
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue