diff --git a/photobooth_pygame.py b/photobooth_pygame.py index 4a11f1e..9b0ce0e 100644 --- a/photobooth_pygame.py +++ b/photobooth_pygame.py @@ -801,6 +801,7 @@ class PB: self.cam = None; errs = 0 while True: time.sleep(3) + _usb_reset_done() try: c = gp.Camera(); c.init() self.cam = c; self.prev_actif = True