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()