[bin] Update where we store media

This commit is contained in:
Colin Powell
2020-04-14 09:24:56 -04:00
parent a4e0ffff15
commit c3bece9e55
6 changed files with 497 additions and 6 deletions

View File

@ -7,7 +7,7 @@ import requests
today = datetime.today().strftime("%Y-%m-%d")
home = os.path.expanduser("~")
target_path = f"{home}/var/backgrounds/astrobin/{today}.jpg"
target_path = f"{home}/var/media/backgrounds/astrobin/{today}.jpg"
# If the file for today already exists, just exit
if os.path.isfile(target_path):