fix diff - / chars switch
This commit is contained in:
parent
a2f57d7f35
commit
f4b3d7c90e
|
@ -75,13 +75,13 @@ class MovieNameFix():
|
|||
diff = []
|
||||
for num, value in enumerate(str1):
|
||||
try:
|
||||
if value not in (str2[num], '-'):
|
||||
if value not in (str2[num], '/'):
|
||||
diff.append(value)
|
||||
except IndexError:
|
||||
diff.append(value)
|
||||
for num, value in enumerate(str2):
|
||||
try:
|
||||
if value not in (str1[num], '/'):
|
||||
if value not in (str1[num], '-'):
|
||||
diff.append(value)
|
||||
except IndexError:
|
||||
diff.append(value)
|
||||
|
|
Loading…
Reference in New Issue