Skip to content

Commit

Permalink
fix Path st_size
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Mar 12, 2024
1 parent 7a64b53 commit 5c303bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmem_plugin_pyshacl/plugin_pyshacl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5c303bd

Please sign in to comment.