diff --git a/buonanotte.py b/buonanotte.py index b7148a0..a18852d 100755 --- a/buonanotte.py +++ b/buonanotte.py @@ -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: