Commit eb30d26a authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Trying to find buffering deadlock

parent 5aa8d588
......@@ -138,6 +138,7 @@ class Server:
arcname = path.decode('utf8', errors='surrogateescape')
full_path = os.path.join(cwd, arcname)
print('Add:', arcname, full_path, file=sys.stderr)
writer.add(full_path, arcname=arcname)
except FileNotFoundError:
self.log.MESSAGE("File disappeared '%s'" % full_path)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment