summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2010-01-26 22:10:09 +0100
committerGravatar spoob <spoob@gmx.de> 2010-01-26 22:10:09 +0100
commit7223256dbcbcad79b5edf0f71f525264903607f9 (patch)
tree12b35b26d77e55fd3c5102edd92b536d1e55f73c /pyLoadCore.py
parentextended script support (diff)
downloadpyload-7223256dbcbcad79b5edf0f71f525264903607f9.tar.xz
Better Script Support
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 7aa38b9b1..203639c63 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -119,6 +119,10 @@ class Core(object):
self.check_file(self.config['general']['link_file'], _("file for links"))
self.check_file(self.config['general']['failed_file'], _("file for failed links"))
+
+ script_folders = ['scripts/download_preparing/', 'scripts/download_finished/', 'scripts/package_finished/', 'scripts/before_reconnect/', 'scripts/after_reconnect/'] # @TODO: yes, replace / with sep
+ self.check_file(script_folders, _("folders for scripts"), True)
+
if self.config['ssl']['activated']:
self.check_install("OpenSSL", "OpenSSL for secure connection", True)
self.check_file(self.config['ssl']['cert'], _("ssl certificate"), False, True)