Skip to content

Commit

Permalink
fix: Issue which prevented the program from refreshing
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishutchinson committed Jun 8, 2019
1 parent 074acbd commit e398f43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ def drawSignage(device, width, height, data):
else:
virtual = drawSignage(device, width=widgetWidth,
height=widgetHeight, data=data)

timeAtStart = time.time()
timeNow = time.time()

Expand All @@ -251,7 +252,8 @@ def drawSignage(device, width, height, data):
else:
virtual = drawSignage(device, width=widgetWidth,
height=widgetHeight, data=data)
timeAtStart = time.time()

timeAtStart = time.time()

timeNow = time.time()
virtual.refresh()
Expand Down

0 comments on commit e398f43

Please sign in to comment.