Fix service startup

This commit is contained in:
angelblue05 2016-09-22 11:40:57 -05:00
parent 58217ca525
commit 3753369dff

View file

@ -35,7 +35,7 @@ if __name__ == "__main__":
log.warn("Delaying emby startup by: %s sec...", DELAY) log.warn("Delaying emby startup by: %s sec...", DELAY)
try: 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") raise RuntimeError("Abort event while waiting to start Emby for kodi")
# Start the service # Start the service
Service().service_entry_point() Service().service_entry_point()