fix diff - / chars switch

This commit is contained in:
simon 2021-05-22 13:16:21 +07:00
parent a2f57d7f35
commit f4b3d7c90e
1 changed files with 2 additions and 2 deletions

View File

@ -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)