Mercurial > code > home > repos > homeauto
diff service/environment/twilight.py @ 722:a93fbf0d0daa
dep updates; graph url renames; and other build updates
Ignore-this: 4603ef3d8db650a13e543dad8580ade8
author | drewp@bigasterisk.com |
---|---|
date | Wed, 05 Feb 2020 00:23:06 -0800 |
parents | 5c9927555df6 |
children | 6b80a6c58907 |
line wrap: on
line diff
--- a/service/environment/twilight.py Wed Feb 05 00:22:48 2020 -0800 +++ b/service/environment/twilight.py Wed Feb 05 00:23:06 2020 -0800 @@ -58,5 +58,4 @@ return not (t1 < standardTime.time() < t2) if __name__ == '__main__': - print isWithinTwilight(datetime.now(tzlocal())) - + print(isWithinTwilight(datetime.now(tzlocal())))