set longest waiting time before start downloading
parent
d1c900b4a0
commit
a9786ea684
|
@ -9,7 +9,7 @@ today_date = datetime.datetime.now()
|
|||
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)
|
||||
time.sleep(5)
|
||||
time.sleep(20)
|
||||
backup_local_path = fileDownloader.create_dirs_and_download(backup_url=backup_url, date=today_date, base_path=conf.save_dir)
|
||||
|
||||
if conf.discord_enabled == 1:
|
||||
|
|
Loading…
Reference in New Issue