diff options
author | Florian <stayawake@lavabit.com> | 2013-05-06 10:36:04 +0200 |
---|---|---|
committer | Florian <stayawake@lavabit.com> | 2013-05-06 10:36:49 +0200 |
commit | f332cbe3c4f2b464efe916235c85a8e4c960e22c (patch) | |
tree | dbe9b9694d7910a840a8b2dbacfbb9659fd3c3f5 /scripts | |
parent | b0757fbbc8ebc69239750841e317b8a8f8bbb218 (diff) |
no dayimages bugfix in trollette script
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/trollette.py | 2 |
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): |