mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
fix reference to filePath
This commit is contained in:
parent
b1c4da309c
commit
b087ee8c2d
1 changed files with 1 additions and 1 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue