Updated peer service

This commit is contained in:
Aman Tahiliani committed 2024-04-21 16:14:34 -04:00
1 parent 9d547054b7
commit 94c534963d
1 file changed
+1 -1
+1 -1
View File
@@ -41,7 +41,7 @@ def request_file():
} }
response = requests.get(url, params=params) response = requests.get(url, params=params)
file_path = './uploads/' + file_id + '_' + filename file_path = './uploads/' + str(file_id) + '_' + filename
if response.status_code == 200: if response.status_code == 200:
if os.path.exists(file_path): if os.path.exists(file_path):