mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
ok windows is just gonna have to make do
This commit is contained in:
parent
36dc8cd686
commit
6a96c62fde
|
@ -984,7 +984,7 @@ class HttpCli(object):
|
||||||
ret = '<?xml version="1.0" encoding="{}"?>\n'.format(uenc)
|
ret = '<?xml version="1.0" encoding="{}"?>\n'.format(uenc)
|
||||||
ret += ET.tostring(xroot).decode("utf-8")
|
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 _:
|
with open(fsenc(abspath), "wb") as _:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue