parent
323be9cf8d
commit
c092529a98
3 changed files with 6 additions and 1 deletions
2
debian/postinst
vendored
2
debian/postinst
vendored
|
|
@ -73,7 +73,7 @@ if not os.path.exists("/tmp/howdy_picked_device"):
|
||||||
# MIGRATION 2.5.0 -> 2.5.1
|
# MIGRATION 2.5.0 -> 2.5.1
|
||||||
# Remove unsafe automatic dismissal of lock screen
|
# Remove unsafe automatic dismissal of lock screen
|
||||||
if key == "dismiss_lockscreen":
|
if key == "dismiss_lockscreen":
|
||||||
if (value == "true"):
|
if value == "true":
|
||||||
print("DEPRECATION: Config falue dismiss_lockscreen is no longer supported because of login loop issues.")
|
print("DEPRECATION: Config falue dismiss_lockscreen is no longer supported because of login loop issues.")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -183,6 +183,10 @@ while True:
|
||||||
# Grab a single frame of video
|
# Grab a single frame of video
|
||||||
ret, frame = video_capture.read()
|
ret, frame = video_capture.read()
|
||||||
|
|
||||||
|
if frames == 1 and ret is False:
|
||||||
|
print("Could not read from camera")
|
||||||
|
exit(12)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Convert from color to grayscale
|
# Convert from color to grayscale
|
||||||
# First processing of frame, so frame errors show up here
|
# First processing of frame, so frame errors show up here
|
||||||
|
|
|
||||||
|
|
@ -75,4 +75,5 @@ exposure = -1
|
||||||
|
|
||||||
[debug]
|
[debug]
|
||||||
# Show a short but detailed diagnostic report in console
|
# Show a short but detailed diagnostic report in console
|
||||||
|
# Enabling this can cause some UI apps to fail, only enable it to debug
|
||||||
end_report = false
|
end_report = false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue