Mercurial > code > home > repos > homeauto
diff service/environment/twilight.py @ 1523:0da337780f22
dep updates; graph url renames; and other build updates
Ignore-this: 4603ef3d8db650a13e543dad8580ade8
darcs-hash:0840491cd6a4e4966f47a2abca0ed30ec434022a
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 05 Feb 2020 00:23:06 -0800 |
parents | 351292938d7c |
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())))