aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-07 14:16:55 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-07 14:16:55 +0100
commitf5715c8db62f7ad2ab2dccd848df0aa359f2b967 (patch)
tree10e4afaf8b747a642bbec4fd02410f5081635058 /src/plugins
parentloadavg demo (diff)
downloadxpybar-f5715c8db62f7ad2ab2dccd848df0aa359f2b967.tar.gz
xpybar-f5715c8db62f7ad2ab2dccd848df0aa359f2b967.tar.bz2
xpybar-f5715c8db62f7ad2ab2dccd848df0aa359f2b967.tar.xz
lunar
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lunar.py2
1 files changed, 1 insertions, 1 deletions
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