1
0
Fork 0
mirror of https://gitlab.com/oloturia/buonanotte.git synced 2025-01-06 21:47:20 +01:00

missing return

This commit is contained in:
oloturia 2023-02-05 20:24:40 +01:00
parent a1607bfea0
commit 9e78da90df

View file

@ -59,6 +59,7 @@ class goodListener(StreamListener):
if hours_delay == minutes_delay == 0:
mastodon.status_post("Can't find a valid time")
return
datesleep = (datetime.datetime.now()+datetime.timedelta(hours=hours_delay,minutes=minutes_delay)).strftime("%Y/%m/%d %H:%M")
with open("/mnt/nas/tmp/schedule.csv","a") as file: