summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-07 22:50:26 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-07 22:50:26 +0200
commitc2029bf97a5b9c2e06473ad352b7dd174a06a648 (patch)
treef44c54e79bb648845209e8bb75b34fe33efeb9cf /pyLoadCore.py
parentclosed #149 (diff)
downloadpyload-c2029bf97a5b9c2e06473ad352b7dd174a06a648.tar.xz
new locale
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"))