Skip since it is safe

This commit is contained in:
Luke Murphy 2020-10-03 13:47:37 +02:00
parent d932006941
commit ad5fb46eff
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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)