decentral1se
4 years ago
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
1 changed files with
4 additions and
5 deletions
-
etherpump/commands/pull.py
|
@ -529,11 +529,10 @@ async def handle_pad(args, padid, data, info, session): |
|
|
async with await trio.open_file(metapath, "w") as f: |
|
|
async with await trio.open_file(metapath, "w") as f: |
|
|
await f.write(json.dumps(meta)) |
|
|
await f.write(json.dumps(meta)) |
|
|
|
|
|
|
|
|
mwords_msg = ( |
|
|
try: |
|
|
", magic words: {}".format(", ".join(magic_words)) |
|
|
mwords_msg = ", magic words: {}".format(", ".join(magic_words)) |
|
|
if magic_words |
|
|
except UnboundLocalError: |
|
|
else "" |
|
|
mwords_msg = "" # Note(decentral1se): for when magic_words are not counted |
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
print("[x] {} (saved{})".format(padid, mwords_msg)) |
|
|
print("[x] {} (saved{})".format(padid, mwords_msg)) |
|
|
saved += 1 |
|
|
saved += 1 |
|
|