fix missing argument in main.py

main
Jan Beníček 2024-06-20 17:20:38 +02:00
parent 37b3adef6b
commit 320f5b2f3a
1 changed files with 1 additions and 1 deletions

View File

@ -17,5 +17,5 @@ print("------------------")
backup_local_path = fileDownloader.create_dirs_and_download(backup_url=backup_url, date=datetime.datetime.now(), base_path=conf.save_dir)
if conf.discord_enabled == 1:
discordPoster.send_url_to_discord(webhook_url=conf.discord_webhook, backup_url=backup_url, datetime=datetime.datetime.now)
discordPoster.send_url_to_discord(webhook_url=conf.discord_webhook, backup_url=backup_url, datetime=datetime.datetime.now, backup_name=conf.discord_backupname)