minor mandatory fix for git pull to work

This commit is contained in:
Bernardo Damele 2013-02-03 11:34:32 +00:00
parent b63144d90b
commit 4c13e0e5a1

View File

@ -71,7 +71,7 @@ def main():
test_counts = []
attachments = {}
proc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --update", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
proc = subprocess.Popen("cd /opt/sqlmap/ ; python /opt/sqlmap/sqlmap.py --update", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
proc.wait()
stdout, stderr = proc.communicate()