Add files via upload

This commit is contained in:
PYDT authored and GitHub committed 2023-03-01 18:46:09 +08:00
1 parent 5e79354705
commit ac3b2b7c80
1 file changed
+1 -1
+1 -1
View File
@@ -930,7 +930,7 @@ class MainWindow_Controller(QtWidgets.QMainWindow):
try:
with open(file, "rb") as f:
file_md5 = str(md5(f.read()).hexdigest())
response = requests.get("http://27.147.30.238:5001/pyas", params={types: file_md5})
response = requests.get("https://api.pyas.cf/pyas", params={types: file_md5})
if response.status_code == 200:
if response.text == 'True':
return True