diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-07 14:16:55 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-07 14:16:55 +0100 |
commit | f5715c8db62f7ad2ab2dccd848df0aa359f2b967 (patch) | |
tree | 10e4afaf8b747a642bbec4fd02410f5081635058 /src/plugins | |
parent | loadavg demo (diff) | |
download | xpybar-f5715c8db62f7ad2ab2dccd848df0aa359f2b967.tar.gz xpybar-f5715c8db62f7ad2ab2dccd848df0aa359f2b967.tar.bz2 xpybar-f5715c8db62f7ad2ab2dccd848df0aa359f2b967.tar.xz |
lunar
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/plugins/lunar.py | 2 |
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 |