Skip to content

Commit

Permalink
Fix sonar issue
Browse files Browse the repository at this point in the history
Signed-off-by: HUG0-D <[email protected]>
  • Loading branch information
HUG0-D committed Nov 20, 2024
1 parent dd5e0ee commit 6c6c674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cimgen/languages/modernpython/lang_pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def _create_file(output_path, class_details, template) -> str:
if not resource_file.exists():
if not (parent := resource_file.parent).exists():
parent.mkdir()
return resource_file
return str(resource_file)


def _write_templated_file(class_file, class_details, template_filename):
Expand Down

0 comments on commit 6c6c674

Please sign in to comment.