This is the current running state of the kiosk sans the secrets.
[kiosk.git] / gcal_renderer.py
index 1e026cd2e11797ae496dabcba5ec3c3e07f7a874..73704aa506f763eb0b07fd3780b2baf0e80d6564 100644 (file)
@@ -360,7 +360,7 @@ var fn = setInterval(function() {
                     continue
                 delta = eventstamp - now
                 x = int(delta.total_seconds())
-                if x > -120 and x <  4 * kiosk_constants.seconds_per_minute:
+                if x > 0 and x < 4 * kiosk_constants.seconds_per_minute:
                     days = divmod(x, kiosk_constants.seconds_per_day)
                     hours = divmod(days[1], kiosk_constants.seconds_per_hour)
                     minutes = divmod(hours[1], kiosk_constants.seconds_per_minute)