Fix freeze liveview : bloquer surveiller_dslr pendant preview (conflit gphoto2)

This commit is contained in:
2026-04-09 01:38:59 +02:00
parent 94e3d68dd7
commit a59f0ef766
2 changed files with 4 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ async def surveiller_dslr():
global _dslr_erreurs
while True:
await asyncio.sleep(5)
if capture_en_cours:
if capture_en_cours or _preview_actif:
continue
try:
if GPHOTO2_DISPONIBLE: