From fdff0811a1aa645a671ad844b7c803fc1452aac2 Mon Sep 17 00:00:00 2001 From: lavirez <65015631+lavirez@users.noreply.github.com> Date: Fri, 10 Nov 2023 16:39:22 +0330 Subject: [PATCH] cli.py missing f string (#877) --- cli-tool/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli-tool/cli.py b/cli-tool/cli.py index 6e814d2..1e5b54f 100644 --- a/cli-tool/cli.py +++ b/cli-tool/cli.py @@ -73,7 +73,7 @@ def upload_media(): if os.path.isdir(path): for filename in os.listdir(path): files = {} - abs = os.path.abspath("{path}/{filename}") + abs = os.path.abspath(f"{path}/{filename}") files['media_file'] = open(f'{abs}', 'rb') response = requests.post(url=f'{BASE_URL}/media', headers=headers, files=files) if response.status_code == 201: