summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-09-15 22:18:42 +0200
committerGravatar spoob <spoob@gmx.de> 2009-09-15 22:18:42 +0200
commit51c2cbf3eea1a67e675072ca7c1192d90254e6d3 (patch)
tree530d98287840c90d6977f826526d2c34eb50bfe5 /pyLoadCore.py
parentsave specific download folder (diff)
downloadpyload-51c2cbf3eea1a67e675072ca7c1192d90254e6d3.tar.xz
Checks installs
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py11
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