Add Installer Script for Inno Setup
This commit is contained in:
+4
-1
@@ -154,7 +154,10 @@ os.makedirs(label_storage_path, exist_ok=True)
|
||||
|
||||
# PDF von der API herunterladen
|
||||
if url:
|
||||
response = requests.get(url)
|
||||
body = {
|
||||
'tkn':'ov;xZ~ksDXf;dV-ci^LJS^N9Pi;Z,~A.QY$5uBc74a9RMjTQ5trhbQx#%hit:gTw'
|
||||
}
|
||||
response = requests.post(url, data=body)
|
||||
if response.status_code == 200:
|
||||
file_name = f'{original_storage_path}/original_{timestamp}.pdf'
|
||||
with open(file_name, 'wb') as file:
|
||||
|
||||
Reference in New Issue
Block a user