shut pylint up
This commit is contained in:
parent
2654c67a84
commit
8dd5cd94c1
1 changed files with 6 additions and 6 deletions
|
|
@ -231,12 +231,12 @@ def stop_playing():
|
|||
audio.stop()
|
||||
|
||||
def almost_NY():
|
||||
now = rtc.datetime
|
||||
return (now.tm_mday == 31 and
|
||||
now.tm_mon == 12 and
|
||||
now.tm_hour == 23 and
|
||||
now.tm_min == 59 and
|
||||
now.tm_sec == 50)
|
||||
rtc_now = rtc.datetime
|
||||
return (rtc_now.tm_mday == 31 and
|
||||
rtc_now.tm_mon == 12 and
|
||||
rtc_now.tm_hour == 23 and
|
||||
rtc_now.tm_min == 59 and
|
||||
rtc_now.tm_sec == 50)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue