diff options
author | spoob <spoob@gmx.de> | 2009-09-15 22:18:42 +0200 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-09-15 22:18:42 +0200 |
commit | 51c2cbf3eea1a67e675072ca7c1192d90254e6d3 (patch) | |
tree | 530d98287840c90d6977f826526d2c34eb50bfe5 | |
parent | save specific download folder (diff) | |
download | pyload-51c2cbf3eea1a67e675072ca7c1192d90254e6d3.tar.xz |
Checks installs
-rwxr-xr-x | pyLoadCore.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index b4ec839f3..81d6e9550 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -35,6 +35,17 @@ from sys import stdout import time from time import sleep import urllib2 +from imp import find_module +try: + find_module("Crypto") +except ImportError: + print "Install pycrypto to use pyLoad" + exit() + +try: + find_module("pycurl") +except ImportError: + print "Install pycurl for lower memory footprint while downloading" from module.file_list import File_List from module.remote.RequestObject import RequestObject |