Fix windows regression
This commit is contained in:
parent
0df474c8ff
commit
ba25b691ff
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user