aboutsummaryrefslogtreecommitdiffstats
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
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 '')
-rw-r--r--dist/archlinux/stable/PKGBUILD4
-rw-r--r--src/plugins/clock.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index bd1b1d6..e55143b 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=xpybar
-pkgver=1.3.1
+pkgver=1.4
pkgrel=1
pkgdesc="A highly extensible minimalistic dock panel written in Python 3"
arch=(any)
@@ -15,7 +15,7 @@ optdepends=("linux: most of the monitors require Linux's procfs or sysfs"
"python-pytz: for timezone support")
makedepends=(make coreutils sed zip)
source=($url/archive/$pkgver.tar.gz)
-sha256sums=(af97eafabdffb593d6ea3ee87fd2bb70d5b105201314d20ed9abb1741a7b29b7)
+sha256sums=(244c9500e72d56506022c5bc26e7b11d6ce05e6cff023829541be9e564627a03)
build() {
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):