Skip to content

Commit fdff081

Browse files
authored
cli.py missing f string (mediacms-io#877)
1 parent 92c0ff5 commit fdff081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli-tool/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def upload_media():
7373
if os.path.isdir(path):
7474
for filename in os.listdir(path):
7575
files = {}
76-
abs = os.path.abspath("{path}/{filename}")
76+
abs = os.path.abspath(f"{path}/{filename}")
7777
files['media_file'] = open(f'{abs}', 'rb')
7878
response = requests.post(url=f'{BASE_URL}/media', headers=headers, files=files)
7979
if response.status_code == 201:

0 commit comments

Comments
 (0)