diff options
-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): |