From 32e83250d286775885d317489d1c8c9ce8d9c0bc Mon Sep 17 00:00:00 2001 From: Jules Date: Sat, 11 Apr 2026 17:44:17 +0200 Subject: [PATCH] USB reset aussi dans le loop de reconnexion automatique --- photobooth_pygame.py | 1 + 1 file changed, 1 insertion(+) 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