Include magic words in printing
This commit is contained in:
parent
a33eb720b3
commit
63466822a9
@ -527,7 +527,13 @@ async def handle_pad(args, padid, data, info, session):
|
||||
async with await trio.open_file(metapath, "w") as f:
|
||||
await f.write(json.dumps(meta))
|
||||
|
||||
print("[x] {} (saved)".format(padid))
|
||||
mwords_msg = (
|
||||
", magic words: {}".format(", ".join(magic_words))
|
||||
if magic_words
|
||||
else ""
|
||||
)
|
||||
|
||||
print("[x] {} (saved{})".format(padid, mwords_msg))
|
||||
saved += 1
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user