mirror of
https://github.com/AmanTahiliani/PeerNotes.git
synced 2026-12-05 15:14:41 -05:00
Updated peer service
This commit is contained in:
1 parent
9d547054b7
commit
94c534963d
1 file changed
+1
-1
@@ -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