From f332cbe3c4f2b464efe916235c85a8e4c960e22c Mon Sep 17 00:00:00 2001 From: Florian Date: Mon, 6 May 2013 10:36:04 +0200 Subject: no dayimages bugfix in trollette script --- scripts/trollette.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/trollette.py b/scripts/trollette.py index aa07331..ec036a1 100755 --- a/scripts/trollette.py +++ b/scripts/trollette.py @@ -8,7 +8,7 @@ def choose_image(imagepath, lastonefile): lastonefile = os.path.join(imagepath, lastonefile) dice = random.random() - now = time.strftime("%H", time.localtime()) + now = int(time.strftime("%H", time.localtime())) # Do we remember the last image we sent out? if os.path.exists(lastonefile): -- cgit v1.2.1