Skip to content

Commit bfba38c

Browse files
committed
minor f-string refactor
1 parent 6970d50 commit bfba38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reactpy/reactjs/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def copy_file(target: Path, source: Path, symlink: bool) -> None:
174174
target.unlink()
175175
target.symlink_to(source)
176176
else:
177-
temp_target = target.with_suffix(target.suffix + ".tmp")
177+
temp_target = target.with_suffix(f"{target.suffix}.tmp")
178178
shutil.copy(source, temp_target)
179179
try:
180180
temp_target.replace(target)

0 commit comments

Comments
 (0)