From 556ca8a0cd4e58b2804598f7329475bd66dd6e7e Mon Sep 17 00:00:00 2001 From: kshitijrajsharma Date: Thu, 25 Jan 2024 13:40:18 +0545 Subject: [PATCH] Open size path , remove list typo --- tasks/task_runners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/task_runners.py b/tasks/task_runners.py index 9f1474f06..4a8ecda26 100644 --- a/tasks/task_runners.py +++ b/tasks/task_runners.py @@ -218,7 +218,7 @@ def write_file_size(response): size_path = join( download_dir, f"{item['download_url'].split('/')[-1]}_size.ini" ) - with open([size_path], "w") as configfile: + with open(size_path, "w") as configfile: config.write(configfile) def finish_task(name, created_files=None, response_back=None, planet_file=False):