remove debug output
This commit is contained in:
@ -78,7 +78,6 @@ def geturl(url,fname):
|
|||||||
|
|
||||||
if which('curl') != None:
|
if which('curl') != None:
|
||||||
cmd = 'curl -L -o "%s" %s' % (fname,url)
|
cmd = 'curl -L -o "%s" %s' % (fname,url)
|
||||||
print(cmd)
|
|
||||||
try:
|
try:
|
||||||
subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
|
subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
|
||||||
success = True
|
success = True
|
||||||
@ -87,7 +86,6 @@ def geturl(url,fname):
|
|||||||
|
|
||||||
if not success and which('wget') != None:
|
if not success and which('wget') != None:
|
||||||
cmd = 'wget -O "%s" %s' % (fname,url)
|
cmd = 'wget -O "%s" %s' % (fname,url)
|
||||||
print(cmd)
|
|
||||||
try:
|
try:
|
||||||
subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
|
subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
|
||||||
success = True
|
success = True
|
||||||
|
|||||||
Reference in New Issue
Block a user