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