From 7223256dbcbcad79b5edf0f71f525264903607f9 Mon Sep 17 00:00:00 2001 From: spoob Date: Tue, 26 Jan 2010 22:10:09 +0100 Subject: Better Script Support --- pyLoadCore.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pyLoadCore.py') 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) -- cgit v1.2.3