add debug message
parent
e8f7f7ebf6
commit
558d7cbc64
|
@ -10,6 +10,10 @@ def run(run_number: int):
|
|||
backups_dict = pterodactylReader.get_backups_list(api_client=api_client, server_id=conf.server_id)
|
||||
backup_uuid = pterodactylReader.get_last_backup_id(backups_dict)
|
||||
backup_url = pterodactylReader.get_backup_url(api_client=api_client, server_id=conf.server_id, backup_id=backup_uuid)
|
||||
|
||||
print(f"Backup UUID of try #{run_number}: {backup_uuid}")
|
||||
print(f"Backup URL of try #{run_number}: {backup_url}")
|
||||
|
||||
time.sleep(20)
|
||||
backup_local_path = fileDownloader.create_dirs_and_download(backup_url=backup_url, date=today_date, base_path=conf.save_dir)
|
||||
|
||||
|
|
Loading…
Reference in New Issue