From b087ee8c2d11b00b540eb6ca9f82ed96acd256b8 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Mon, 11 Mar 2013 23:51:22 -0700 Subject: [PATCH] fix reference to filePath --- extractor/extractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractor/extractor.py b/extractor/extractor.py index 4755d988..5c13b070 100644 --- a/extractor/extractor.py +++ b/extractor/extractor.py @@ -88,7 +88,7 @@ def extract(filePath, outputDestination): if not EXTRACT_COMMANDS: Logger.warn("EXTRACTOR: No archive extracting programs found, plugin will be disabled") - ext = os.path.splitext(file) + ext = os.path.splitext(filePath) if ext[1] in (".gz", ".bz2", ".lzma"): # Check if this is a tar if os.path.splitext(ext[0])[1] == ".tar":