Browse Source

new image every 10s

rorist 2 months ago
parent
commit
c64177d36c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      screend.py

+ 1 - 1
screend.py

@@ -107,7 +107,7 @@ def random_image():
         handle = open('./random_image.jpg', "wb")
         handle.write(response)
         handle.close()
-        time.sleep(60)
+        time.sleep(10)
 
 # Copied from humanize.naturalsize and s/bytes/bits/g
 def naturalsize(value, binary=False, gnu=False, format='%.1f'):