Skip to content

Commit

Permalink
Fix QgsProject.read() argument type: should be str not PosixPath
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Aug 22, 2023
1 parent e21db69 commit f9fe9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qfieldsync/tests/test_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def data_dir(self) -> Path:

def load_project(self, path):
project = QgsProject.instance()
self.assertTrue(project.read(path))
self.assertTrue(project.read(str(path)))
return project

def test_copy(self):
Expand Down

0 comments on commit f9fe9b9

Please sign in to comment.