Skip to content

Commit

Permalink
add temp file as path, not str
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasoylu committed Nov 23, 2023
1 parent 9365764 commit b8e9cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/somesy/codemeta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def update_codemeta(conf: SomesyConfig):
temp_cff_cm = contextlib.nullcontext(None)
if not conf.no_sync_cff and conf.cff_file is not None:
temp_cff_cm = cff_codemeta_tempfile(conf.cff_file)
cm_sources.append(str(Path(temp_cff_cm.name).resolve()))
cm_sources.append(Path(temp_cff_cm.name).resolve())

# run codemetapy
with temp_cff_cm:
Expand Down

0 comments on commit b8e9cbc

Please sign in to comment.