Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
mistyping fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
simonarvin committed Jul 14, 2020
1 parent ffc3bbe commit 7be2282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eyeloop/importers/cv.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def first_frame(self) -> None:
self.vid_path = Path(config.arguments.video)
# load first frame
if str(self.vid_path.name) == "0" or self.vid_path.is_file(): # or stream
if str(elf.vid_path.name) == "0":
if str(self.vid_path.name) == "0":
self.capture = cv2.VideoCapture(0)
else:
self.capture = cv2.VideoCapture(str(self.vid_path))
Expand Down

0 comments on commit 7be2282

Please sign in to comment.