Update CAM4Recorder.py

This commit is contained in:
beaston02 2017-05-30 06:20:58 -07:00 committed by GitHub
parent efdd29a212
commit 621ef9ad3f

View file

@ -62,9 +62,13 @@ def startRecording(model):
data = fd.read(1024) data = fd.read(1024)
f.write(data) f.write(data)
except: except:
pass recording.remove(model)
if model in recording:
recording.remove(model) if model in recording:
recording.remove(model)
except:
if model in recording:
recording.remove(model)
if __name__ == '__main__': if __name__ == '__main__':