Commit 8cbb5092 authored by Antoine Lima's avatar Antoine Lima

small fix

parent c60eb583
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment