From b69b4096c2617b4f26822c72fef89d44912c0a98 Mon Sep 17 00:00:00 2001 From: Henric Andersson Date: Thu, 14 Jun 2018 03:03:22 -0700 Subject: [PATCH] Spelling error caused settings to potentially be ignored --- modules/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()