From bed71482d0c8ff2fde937c22bdd1f68c54d09d90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20K=C3=A5berg?= Date: Mon, 25 Mar 2013 09:05:04 +0100 Subject: [PATCH] fixed syntax error --- extractor/extractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractor/extractor.py b/extractor/extractor.py index 67c1f131..eae4acf2 100644 --- a/extractor/extractor.py +++ b/extractor/extractor.py @@ -117,7 +117,7 @@ def extract(filePath, outputDestination): os.chdir(outputDestination) # Not all unpack commands accept full paths, so just extract into this directory try: # now works same for nt and *nix cmd.append(filePath) # add filePath to final cmd arg. - p = Popen(cmd)) # should extract files fine. + p = Popen(cmd) # should extract files fine. res = p.wait() if res >= 0: # for windows chp returns process id if successful or -1*Error code. Linus returns 0 for successful. Logger.info("EXTRACTOR: Extraction was successful for %s to %s", filePath, outputDestination)