Skip since it is safe
This commit is contained in:
parent
d932006941
commit
ad5fb46eff
@ -298,8 +298,9 @@ async def handle_pad(args, padid, data, info, session):
|
|||||||
path = trio.Path(os.path.split(metapath)[0])
|
path = trio.Path(os.path.split(metapath)[0])
|
||||||
if not os.path.exists(path):
|
if not os.path.exists(path):
|
||||||
await path.mkdir()
|
await path.mkdir()
|
||||||
except OSError as exception:
|
except OSError:
|
||||||
print("PANIC: {}".format(exception))
|
# Note(decentral1se): the path already exists
|
||||||
|
pass
|
||||||
|
|
||||||
if args.all or args.text:
|
if args.all or args.text:
|
||||||
url = info["localapiurl"] + "getText?" + urlencode(data)
|
url = info["localapiurl"] + "getText?" + urlencode(data)
|
||||||
|
Loading…
Reference in New Issue
Block a user