Only the Mac file system stores file names NFD-normalized. So do that normalization only there when looking for files.
This commit is contained in:
parent
db262031c3
commit
d806f44484
@ -181,7 +181,7 @@ If the same name exists, compare checksums."""
|
||||
# generate card q/a and look through all references
|
||||
normrefs = {}
|
||||
def norm(s):
|
||||
if isinstance(s, unicode):
|
||||
if isinstance(s, unicode) and isMac:
|
||||
return unicodedata.normalize('NFD', s)
|
||||
return s
|
||||
for f in self.allMedia():
|
||||
|
Loading…
Reference in New Issue
Block a user