Skip to content

Commit

Permalink
[CronManager] Fix predefined scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
javilonas committed Jul 29, 2015
1 parent f69d710 commit 8f19b89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/Screens/CronTimer.py
Expand Up @@ -285,11 +285,11 @@ def __init__(self, session):

def createSetup(self):
predefinedlist = []
f = listdir('/usr/script')
f = listdir('/usr/lib/enigma2/python/Plugins/Extensions/LDteam/scripts')
if f:
for line in f:
parts = line.split()
path = "/usr/script/"
path = "/usr/lib/enigma2/python/Plugins/Extensions/LDteam/scripts/"
pkg = parts[0]
description = path + parts[0]
if pkg.find('.sh') >= 0:
Expand Down

0 comments on commit 8f19b89

Please sign in to comment.