mirror of
https://github.com/thelittlerocket/CAM4Recorder-1.git
synced 2024-11-10 08:55:41 +08:00
Update CAM4Recorder.py
This commit is contained in:
parent
efdd29a212
commit
621ef9ad3f
1 changed files with 7 additions and 3 deletions
|
@ -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__':
|
||||||
|
|
Loading…
Reference in a new issue