From 41f32b705307e4791265b933b35ae6d361f1bee5 Mon Sep 17 00:00:00 2001 From: Andreas Demmelbauer Date: Tue, 16 Apr 2019 16:38:23 +0100 Subject: [PATCH] comment --- discobert.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discobert.py b/discobert.py index ecd716e..95c39de 100644 --- a/discobert.py +++ b/discobert.py @@ -438,6 +438,7 @@ while True: # 1 => door open if doorstate == 1: # don't do a doorShutdown when user comes in + # or when door stays open after user left if (time.time() > (starttime + 15) and inUse == True): doorShutdown()