diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-10-12 06:38:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-10-12 06:38:07 +0200 |
commit | e589b8545cc902ed04a922e143618208c4ae0cb5 (patch) | |
tree | c6e83afb4fe402e3e43ca1ef6a458f8aafe2340a /src/plugins/clock.py | |
parent | do not spawn new processes all the time (diff) | |
download | xpybar-1.4.tar.gz xpybar-1.4.tar.bz2 xpybar-1.4.tar.xz |
derp1.4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/plugins/clock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clock.py b/src/plugins/clock.py index fc99ca4..2f0932a 100644 --- a/src/plugins/clock.py +++ b/src/plugins/clock.py @@ -62,7 +62,7 @@ class Clock: if not self.utc: return time.strftime(self.format) else: - datetime.fromtimestamp(time.time(), tz = timezone.utc).strftime(self.format)) + return datetime.fromtimestamp(time.time(), tz = timezone.utc).strftime(self.format) def sync(self): |