set longest waiting time before start downloading

main
Jan Beníček 2024-06-22 04:11:15 +00:00
parent d1c900b4a0
commit a9786ea684
1 changed files with 1 additions and 1 deletions

View File

@ -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: