mirror of
https://codeberg.org/gaschz/passff-host.git
synced 2025-06-06 18:08:46 +02:00
Explicitly call pass show
, fix #27
This commit is contained in:
parent
8c2d02eccb
commit
8533ed9f23
@ -52,17 +52,18 @@ if __name__ == "__main__":
|
||||
std_input = None
|
||||
|
||||
if len(receivedMessage) == 0:
|
||||
pass
|
||||
opt_args = ["show"]
|
||||
elif receivedMessage[0] == "insert":
|
||||
opt_args = ["insert", "-m"]
|
||||
pos_args = [receivedMessage[1]]
|
||||
std_input = receivedMessage[2]
|
||||
elif receivedMessage[0] == "generate":
|
||||
pos_args = [receivedMessage[1], receivedMessage[2]]
|
||||
opt_args = ["generate"]
|
||||
pos_args = [receivedMessage[1], receivedMessage[2]]
|
||||
if "-n" in receivedMessage[3:]:
|
||||
opt_args.append("-n")
|
||||
else:
|
||||
opt_args = ["show"]
|
||||
key = receivedMessage[0]
|
||||
key = "/" + (key[1:] if key[0] == "/" else key)
|
||||
pos_args = [key]
|
||||
|
Loading…
x
Reference in New Issue
Block a user