Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Babyfut
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PR-Baby-A18
Babyfut
Commits
8cbb5092
Commit
8cbb5092
authored
Jan 21, 2019
by
Antoine Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fix
parent
c60eb583
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/replay.py
core/replay.py
+1
-1
No files found.
core/replay.py
View file @
8cbb5092
...
@@ -83,7 +83,7 @@ class Replay(Thread):
...
@@ -83,7 +83,7 @@ class Replay(Thread):
def
detectCam
():
def
detectCam
():
if
ON_RASP
:
if
ON_RASP
:
camdet
=
subprocess
.
check_output
([
"vcgencmd"
,
"get_camera"
])
camdet
=
subprocess
.
check_output
([
"vcgencmd"
,
"get_camera"
])
return
bool
(
chr
(
camdet
[
-
2
]
))
return
bool
(
int
(
chr
(
camdet
[
-
2
])
))
else
:
else
:
return
False
return
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment