mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
try again..
This commit is contained in:
parent
1877bc6769
commit
499b6b76fc
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def rebuildMediaDir(deck, deleteRefs=False, dirty=True):
|
|||
if os.path.isdir(oldPath):
|
||||
continue
|
||||
newBase = copyToMedia(deck, oldPath)
|
||||
if oldBase == newBase:
|
||||
if oldBase.lower() == newBase.lower():
|
||||
existingFiles[oldBase] = 1
|
||||
else:
|
||||
renamedFiles[oldBase] = newBase
|
||||
|
|
Loading…
Reference in a new issue