From f95d33952d72bcc8de2e0dd533bfa23342439a52 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Sat, 12 Jan 2013 11:33:20 -0500 Subject: [PATCH] fixed resolution of parent directory name when calling IndexProcessor --- pylookup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylookup.py b/pylookup.py index 81814f7..dc122c1 100755 --- a/pylookup.py +++ b/pylookup.py @@ -231,7 +231,7 @@ def update(db, urls, append=False): if not issubclass(type(index), str): index = index.decode() - parser = IndexProcessor(writer, dirname(url)) + parser = IndexProcessor(writer, dirname(index_url)) with closing(parser): parser.feed(index)