From ad5fb46effc2670298b98d666746e7826fc79b03 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sat, 3 Oct 2020 13:47:37 +0200 Subject: [PATCH] Skip since it is safe --- etherpump/commands/pull.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etherpump/commands/pull.py b/etherpump/commands/pull.py index 35768cf..0d5acb0 100644 --- a/etherpump/commands/pull.py +++ b/etherpump/commands/pull.py @@ -298,8 +298,9 @@ async def handle_pad(args, padid, data, info, session): path = trio.Path(os.path.split(metapath)[0]) if not os.path.exists(path): await path.mkdir() - except OSError as exception: - print("PANIC: {}".format(exception)) + except OSError: + # Note(decentral1se): the path already exists + pass if args.all or args.text: url = info["localapiurl"] + "getText?" + urlencode(data)