aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clock.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-10-12 06:38:07 +0200
committerMattias Andrée <maandree@operamail.com>2014-10-12 06:38:07 +0200
commite589b8545cc902ed04a922e143618208c4ae0cb5 (patch)
treec6e83afb4fe402e3e43ca1ef6a458f8aafe2340a /src/plugins/clock.py
parentdo not spawn new processes all the time (diff)
downloadxpybar-e589b8545cc902ed04a922e143618208c4ae0cb5.tar.gz
xpybar-e589b8545cc902ed04a922e143618208c4ae0cb5.tar.bz2
xpybar-e589b8545cc902ed04a922e143618208c4ae0cb5.tar.xz
derp1.4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/plugins/clock.py')
-rw-r--r--src/plugins/clock.py2
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):