summaryrefslogtreecommitdiff
path: root/scripts/trollette.py
diff options
context:
space:
mode:
authorFlorian <stayawake@lavabit.com>2013-05-06 10:36:04 +0200
committerFlorian <stayawake@lavabit.com>2013-05-06 10:36:49 +0200
commitf332cbe3c4f2b464efe916235c85a8e4c960e22c (patch)
treedbe9b9694d7910a840a8b2dbacfbb9659fd3c3f5 /scripts/trollette.py
parentb0757fbbc8ebc69239750841e317b8a8f8bbb218 (diff)
no dayimages bugfix in trollette script
Diffstat (limited to 'scripts/trollette.py')
-rwxr-xr-xscripts/trollette.py2
1 files changed, 1 insertions, 1 deletions
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):