#dirname = path.decode(get_filesystem_encoding())
dirname = path
- reactor.callLater(0, self._scan, dirname)
return self._parent.create_subdirectory(name)
def _maybe_upload(val):
self.uploader = DropUploader(self.client, self.upload_dircap, self.local_dir.encode('utf-8'),
"magicfolderdb.sqlite", inotify=self.inotify, pending_delay=0.2)
self.uploader.setServiceParent(self.client)
- d = self.uploader.startService()
self.uploader.upload_ready()
self.failUnlessEqual(self.uploader._db.VERSION, 2)
- return d
# Prevent unclean reactor errors.
def _cleanup(self, res):