Fix windows regression

This commit is contained in:
Sam Ruby 2006-11-14 11:05:09 -05:00
parent 0df474c8ff
commit ba25b691ff

View File

@ -68,8 +68,8 @@ def splice():
# insert entry information # insert entry information
items = 0 items = 0
for mtime,file in dir: for mtime,file in dir:
if index: if index != None:
base = file.split('/')[-1] base = os.path.basename(file)
if index.has_key(base) and index[base] not in sub_ids: continue if index.has_key(base) and index[base] not in sub_ids: continue
try: try: