From 8cbb50927f35afe85e674bcb913e42f3eac1da4b Mon Sep 17 00:00:00 2001 From: Antoine Lima Date: Mon, 21 Jan 2019 14:07:03 +0100 Subject: [PATCH] small fix --- core/replay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/replay.py b/core/replay.py index b58d7b0..c2a4d60 100644 --- a/core/replay.py +++ b/core/replay.py @@ -83,7 +83,7 @@ class Replay(Thread): def detectCam(): if ON_RASP: camdet = subprocess.check_output(["vcgencmd","get_camera"]) - return bool(chr(camdet[-2])) + return bool(int(chr(camdet[-2]))) else: return False -- GitLab