fix bad bug #7

main
Jan Beníček 2024-06-20 17:45:09 +02:00
parent 7339a992c0
commit 779e95883a
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_local_path, datetim=datetime.datetime.now(), backup_name=conf.discord_backupname)
discordPoster.send_url_to_discord(webhook_url=conf.discord_webhook, backup_url=f"{conf.main_domain}{backup_local_path}", datetim=datetime.datetime.now(), backup_name=conf.discord_backupname)