summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index bb518755b..46ca289a1 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -230,12 +230,12 @@ class Core(object):
self.check_install("Crypto", _("pycrypto to decode container files"))
img = self.check_install("Image", _("Python Image Libary (PIL) for captcha reading"))
- self.check_install("pycurl", _("pycurl to download any files"), True, True)
+ #self.check_install("pycurl", _("pycurl to download any files"), True, True)
self.check_install("django", _("Django for webinterface"))
self.check_file("tmp", _("folder for temporary files"), True)
- #tesser = self.check_install("tesseract", _("tesseract for captcha reading"), False)
+ tesser = self.check_install("tesseract", _("tesseract for captcha reading"), False) if os.name != "nt" else True
- self.captcha = img
+ self.captcha = img and tesser
self.check_file(self.config['general']['download_folder'], _("folder for downloads"), True)
self.check_file("links.txt", _("file for links"))