mirror of
https://gitlab.com/oloturia/buonanotte.git
synced 2025-01-07 22:17:21 +01:00
missing return
This commit is contained in:
parent
a1607bfea0
commit
9e78da90df
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ class goodListener(StreamListener):
|
||||||
|
|
||||||
if hours_delay == minutes_delay == 0:
|
if hours_delay == minutes_delay == 0:
|
||||||
mastodon.status_post("Can't find a valid time")
|
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")
|
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:
|
with open("/mnt/nas/tmp/schedule.csv","a") as file:
|
||||||
|
|
Loading…
Reference in a new issue