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])
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user