Fix service startup
This commit is contained in:
parent
58217ca525
commit
3753369dff
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue