Fix a type error.
authorDaira Hopwood <daira@jacaranda.org>
Tue, 27 Oct 2015 20:35:41 +0000 (20:35 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 27 Oct 2015 20:35:41 +0000 (20:35 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
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()