Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh committed Jun 18, 2020
1 parent feb9998 commit b62708f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/cam_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def read(self):
return 1,frame
else:
logger.info('camera capture object not opened for camera {} ,url{}'.format(self.config['name'],self.config['url']))
return None
return 0,None

def reinitialize(self):
self.video.release()
Expand Down

0 comments on commit b62708f

Please sign in to comment.