mirror of
https://github.com/9001/copyparty.git
synced 2026-10-05 22:04:38 +01:00
ok windows is just gonna have to make do
This commit is contained in:
@@ -984,7 +984,7 @@ class HttpCli(object):
|
||||
ret = '<?xml version="1.0" encoding="{}"?>\n'.format(uenc)
|
||||
ret += ET.tostring(xroot).decode("utf-8")
|
||||
|
||||
if not bos.path.isfile(abspath):
|
||||
if self.can_write and not bos.path.isfile(abspath):
|
||||
with open(fsenc(abspath), "wb") as _:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user