This commit is contained in:
Kovid Goyal 2007-05-10 19:54:45 +00:00
parent b49617d502
commit 9026e54fbf

View File

@ -51,6 +51,6 @@ def extract(path, dir):
elif ext == 'rar': elif ext == 'rar':
from libprs500.libunrar import extract from libprs500.libunrar import extract
extractor = extract extractor = extract
if not extract: if not extractor:
raise Exception('Unknown archive type') raise Exception('Unknown archive type')
extractor(path, dir) extractor(path, dir)