From f5715c8db62f7ad2ab2dccd848df0aa359f2b967 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 7 Mar 2014 14:16:55 +0100 Subject: lunar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/plugins/lunar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/lunar.py b/src/plugins/lunar.py index 43f707a..48443db 100644 --- a/src/plugins/lunar.py +++ b/src/plugins/lunar.py @@ -62,7 +62,7 @@ class Lunar: self.fraction = ((now - ref) / Lunar.SYNODIC_MONTH) % 1 self.waxing = self.fraction <= 0.5 # we get an off by one without equality - self.terminator = 90 - 360 * fraction # sunlit trailing + self.terminator = 90 - 360 * self.fraction # sunlit trailing if self.terminator < -90: self.terminator += 180 # visible side -- cgit v1.2.3-70-g09d2