trying to make it run on both a computer of local deving and the pi

This commit is contained in:
Tim Caldwell
2017-10-06 21:32:39 +13:00
parent 9d56b2fb35
commit 4ed1263e9e
4 changed files with 30 additions and 16 deletions

View File

@@ -261,7 +261,11 @@ canvas.pack()
data = data_centre.data()
video_driver = video_centre.video_driver(canvas)
try:
video_driver = video_centre.video_driver(canvas)
except Exception as e:
logger.error(traceback.format_exc())
logger.error(str(e))
last_scene = None