diff --git a/cmem_plugin_pyshacl/plugin_pyshacl.py b/cmem_plugin_pyshacl/plugin_pyshacl.py index 4b40cb5..435754f 100644 --- a/cmem_plugin_pyshacl/plugin_pyshacl.py +++ b/cmem_plugin_pyshacl/plugin_pyshacl.py @@ -438,7 +438,7 @@ def post_graph(self, validation_graph: Graph) -> None: validation_graph.serialize(temp_file, format="nt", encoding="utf-8") self.log.info( f"Created temporary file {temp_file} with size " - f"{Path.stat(temp_file).st_size()} bytes" + f"{temp_file.stat().st_size} bytes" ) res = post_streamed( self.validation_graph_uri,