Skip to content

Commit b1f762f

Browse files
committed
Make f-string.
1 parent f82d778 commit b1f762f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cachebin/cachebin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ def call(self, command: str, *args: str) -> str:
136136
str: The output of the command.
137137
"""
138138
if self.parent._system == "windows":
139-
binary_path_exe = self.binary_directory_path / "{command}.exe"
140-
binary_path_bat = self.binary_directory_path / "{command}.bat"
139+
binary_path_exe = self.binary_directory_path / f"{command}.exe"
140+
binary_path_bat = self.binary_directory_path / f"{command}.bat"
141141
if binary_path_exe.exists():
142142
command = f"{command}.exe"
143143
elif binary_path_bat.exists():

0 commit comments

Comments
 (0)