summaryrefslogtreecommitdiff
path: root/src/py/cam
diff options
context:
space:
mode:
Diffstat (limited to 'src/py/cam')
-rwxr-xr-xsrc/py/cam/cam.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/py/cam/cam.py b/src/py/cam/cam.py
index e2bc78da..66df18bf 100755
--- a/src/py/cam/cam.py
+++ b/src/py/cam/cam.py
@@ -9,7 +9,6 @@
import argparse
import binascii
import libcamera as libcam
-import os
import sys
import traceback
@@ -294,7 +293,7 @@ def event_handler(state):
cm = state['cm']
contexts = state['contexts']
- os.read(cm.efd, 8)
+ cm.read_event()
reqs = cm.get_ready_requests()