Skip to content

Commit

Permalink
Revert "change script path in hotkey"
Browse files Browse the repository at this point in the history
This reverts commit 3b2ad04.
  • Loading branch information
madie66 committed Mar 22, 2015
1 parent 1b50848 commit 7a85192
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/Screens/ButtonSetup.py
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/scripts"):
for x in [x for x in os.listdir("/usr/scripts") if x.endswith(".sh")]:
if os.path.isdir("/usr/script"):
for x in [x for x in os.listdir("/usr/script") 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 7a85192

Please sign in to comment.