mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
trailing newline for plaintext folder listings
This commit is contained in:
parent
cc23b7ee74
commit
aa2dc49ebe
|
@ -1911,7 +1911,7 @@ class HttpCli(object):
|
|||
ret = json.dumps(ls)
|
||||
mime = "application/json"
|
||||
|
||||
self.reply(ret.encode("utf-8", "replace"), mime=mime)
|
||||
self.reply(ret.encode("utf-8", "replace") + b"\n", mime=mime)
|
||||
return True
|
||||
|
||||
def tx_browser(self):
|
||||
|
|
Loading…
Reference in a new issue