diff --git a/plugins/Google/config.py b/plugins/Google/config.py index caa88f317..215ba1c00 100644 --- a/plugins/Google/config.py +++ b/plugins/Google/config.py @@ -90,7 +90,7 @@ class NumSearchResults(registry.PositiveInteger): def setValue(self, v): if v > 8: self.error() - super(NumSearchResults, self).setValue(v) + super(self.__class__, self).setValue(v) class SafeSearch(registry.OnlySomeStrings): validStrings = ['active', 'moderate', 'off'] diff --git a/plugins/ShrinkUrl/config.py b/plugins/ShrinkUrl/config.py index 50bf1a385..a2343ec04 100644 --- a/plugins/ShrinkUrl/config.py +++ b/plugins/ShrinkUrl/config.py @@ -54,7 +54,7 @@ class ShrinkCycle(registry.SpaceSeparatedListOfStrings): self.lastIndex = -1 def setValue(self, v): - super(ShrinkCycle, self).setValue(v) + super(self.__class__, self).setValue(v) self.lastIndex = -1 def getService(self):