From 3753369dff73ffa1be99a9ade1abbaf0b435d42e Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 22 Sep 2016 11:40:57 -0500 Subject: [PATCH] Fix service startup --- service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.py b/service.py index ac0b8f74..47b852ee 100644 --- a/service.py +++ b/service.py @@ -35,7 +35,7 @@ if __name__ == "__main__": log.warn("Delaying emby startup by: %s sec...", DELAY) try: - if DELAY and xbmc.Monitor().waitForAbort(int(DELAY)): + if int(DELAY) and xbmc.Monitor().waitForAbort(int(DELAY)): raise RuntimeError("Abort event while waiting to start Emby for kodi") # Start the service Service().service_entry_point()