Fix a type error.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2015-10-27 20:35:41 +00:00 committed by Brian Warner
parent 0e19636146
commit a6842946ca

View File

@ -963,7 +963,7 @@ class RealTest(MagicFolderTestMixin, unittest.TestCase):
# Writing to the filesystem causes the notification.
# However, flushing filesystem buffers may be necessary on Windows.
if flush:
fileutil.flush_volume(path)
fileutil.flush_volume(path.path)
try:
magic_folder.get_inotify_module()