dodge pushstate size limit

This commit is contained in:
ed
2021-03-04 21:06:59 +01:00
parent 7a7c832000
commit f7196ac773
4 changed files with 29 additions and 12 deletions

View File

@@ -1228,7 +1228,7 @@ class HttpCli(object):
fspath = fsroot + "/" + fn
try:
inf = stats.get(fn, os.stat(fsenc(fspath)))
inf = stats.get(fn) or os.stat(fsenc(fspath))
except:
self.log("broken symlink: {}".format(repr(fspath)))
continue