aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs/guessit/rules/properties/language.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/guessit/rules/properties/language.py')
-rw-r--r--libs/guessit/rules/properties/language.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/guessit/rules/properties/language.py b/libs/guessit/rules/properties/language.py
index 3f83bc344..c1f9e6a17 100644
--- a/libs/guessit/rules/properties/language.py
+++ b/libs/guessit/rules/properties/language.py
@@ -396,7 +396,7 @@ class SubtitlePrefixLanguageRule(Rule):
def then(self, matches, when_response, context):
to_rename, to_remove = when_response
- super(SubtitlePrefixLanguageRule, self).then(matches, to_remove, context)
+ super().then(matches, to_remove, context)
for prefix, match in to_rename:
# Remove suffix equivalent of prefix.
suffix = copy.copy(prefix)
@@ -435,7 +435,7 @@ class SubtitleSuffixLanguageRule(Rule):
def then(self, matches, when_response, context):
to_rename, to_remove = when_response
- super(SubtitleSuffixLanguageRule, self).then(matches, to_remove, context)
+ super().then(matches, to_remove, context)
for match in to_rename:
matches.remove(match)
match.name = 'subtitle_language'
@@ -488,7 +488,7 @@ class RemoveInvalidLanguages(Rule):
def __init__(self, common_words):
"""Constructor."""
- super(RemoveInvalidLanguages, self).__init__()
+ super().__init__()
self.common_words = common_words
def when(self, matches, context):