reordered if

This commit is contained in:
alfa_addon_10
2017-09-05 09:31:55 +02:00
parent fc50f541b7
commit 9d000678c7

View File

@@ -42,17 +42,13 @@ def run(item=None):
logger.info(item.tostring())
try:
if item.action == "editor_keymap":
from platformcode import editor_keymap
return editor_keymap.start()
# If item has no action, stops here
if item.action == "":
logger.info("Item sin accion")
return
# Action for main menu in channelselector
if item.action == "getmainlist":
elif item.action == "getmainlist":
import channelselector
# # Check for updates only on first screen
@@ -124,6 +120,10 @@ def run(item=None):
play_from_library(item)
return
elif item.action == "editor_keymap":
from platformcode import editor_keymap
return editor_keymap.start()
# Action in certain channel specified in "action" and "channel" parameters
else: