Fixed a small bug

This commit is contained in:
Emiliana 2020-07-02 02:07:54 +02:00
parent 5c4d4b7b14
commit 6ccb821508
2 changed files with 3 additions and 2 deletions

View file

@ -96,7 +96,7 @@ class InputReader():
elif os.path.exists(capture):
self.reader = VideoReader(capture)
elif capture == str(int(capture)):
self.reader = CameraReader(int(capture), width, height, fps)
self.reader = CameraReader(int(capture), width, height, fps, use_escapi=use_escapi)
except Exception as e:
print("Error: " + str(e))