diff --git a/modules/settings.py b/modules/settings.py index c772707..3d87ee2 100755 --- a/modules/settings.py +++ b/modules/settings.py @@ -73,7 +73,7 @@ def load(self): # Lastly, correct the tvservice field, should be "TEXT NUMBER TEXT" # This is a little bit of a cheat parts = self.settings['cfg']['tvservice'].split(' ') - if type(self.convertNative(parts[1])) != int and type(self.convertNative(parts[2])) == int: + if type(self.convertToNative(parts[1])) != int and type(self.convertToNative(parts[2])) == int: logging.debug('Reordering tvservice value due to old bug') self.settings['cfg']['tvservice'] = "%s %s %s" % (parts[0], parts[2], parts[1]) self.save()