Skip to content

Commit

Permalink
change script path in hotkey
Browse files Browse the repository at this point in the history
  • Loading branch information
madie66 committed Mar 16, 2015
1 parent 299c157 commit 3b2ad04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/Screens/ButtonSetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ def getButtonSetupFunctions():
for x in [x for x in os.listdir("/etc/ppanels") if x.endswith(".xml")]:
x = x[:-4]
ButtonSetupFunctions.append((_("PPanel") + " " + x, "PPanel/" + x, "PPanels"))
if os.path.isdir("/usr/script"):
for x in [x for x in os.listdir("/usr/script") if x.endswith(".sh")]:
if os.path.isdir("/usr/scripts"):
for x in [x for x in os.listdir("/usr/scripts") if x.endswith(".sh")]:
x = x[:-3]
ButtonSetupFunctions.append((_("Shellscript") + " " + x, "Shellscript/" + x, "Shellscripts"))
if os.path.isfile("/usr/lib/enigma2/python/Plugins/Extensions/EnhancedMovieCenter/plugin.pyo"):
Expand Down

0 comments on commit 3b2ad04

Please sign in to comment.