From e589b8545cc902ed04a922e143618208c4ae0cb5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 12 Oct 2014 06:38:07 +0200 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/stable/PKGBUILD | 4 ++-- src/plugins/clock.py | 2 +- 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): -- cgit v1.2.3-70-g09d2