diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 60081fb6..d10b4ba0 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -1228,7 +1228,7 @@ class HttpCli(object): fspath = fsroot + "/" + fn try: - inf = stats[fn] + inf = stats.get(fn, os.stat(fsenc(fspath))) except: self.log("broken symlink: {}".format(repr(fspath))) continue