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