reordered if
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user