mirror of
https://github.com/AmanTahiliani/PeerNotes.git
synced 2026-08-07 19:56:19 -04:00
Updated peer service
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user