From d85f8e5e5739adff5fbf6a0c42d523f92f7d99f6 Mon Sep 17 00:00:00 2001 From: Balthasar Reuter Date: Mon, 25 Jun 2018 14:41:22 +0200 Subject: [PATCH] Change order of GUI signalling and trigger disabling to avoid multiple button presses (related to #16) --- photobooth/Photobooth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photobooth/Photobooth.py b/photobooth/Photobooth.py index 7330f4b..3545f97 100644 --- a/photobooth/Photobooth.py +++ b/photobooth/Photobooth.py @@ -215,8 +215,8 @@ class Photobooth: logging.info('Photobooth triggered') - self._conn.send(GuiState.GreeterState()) self.triggerOff() + self._conn.send(GuiState.GreeterState()) self.setCameraActive() self.recvAck()