]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/test/test_magic_folder.py
Fix a type error.
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / test / test_magic_folder.py
index baea0af69ee1d2eb88772cce174d7d8bc06f63b3..c00ccac66c4aba61164797be178435c55723d3ff 100644 (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()