Permalink
Browse files

testing

  • Loading branch information...
1 parent 3a5558b commit 6bb86c556f089d69ce233df780e1bbd72abc0f12 @phooky phooky committed Nov 6, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 hexaservice/service.py
View
@@ -45,11 +45,13 @@ def sigint_handler(signal,frame):
signal.signal(signal.SIGINT,sigint_handler)
while True:
+ beats = internet_time()
+ print beats
msg = time.strftime("%H:%M:%S")
txtimg = base_font.strImg(msg)
img = Image.new("1",(120,7))
img.paste(txtimg,(15,0))
- bmsg = "{0:3.2f} .b".format(internet_time())
+ bmsg = "{0:3.2f} .b".format(beats)
txt2img = base_font.strImg(bmsg)
img.paste(txt2img,(75,0))
bitmap = compile_image(img,0,0)

0 comments on commit 6bb86c5

Please sign in to comment.