settings: Don't need to store result

This commit is contained in:
John Cote 2021-07-09 00:16:41 -04:00
parent 5fccccd206
commit 1195c7d6de

View file

@ -30,5 +30,4 @@ class Settings:
self.__settings[setting] = value self.__settings[setting] = value
def getSetting(self, setting, default=None): def getSetting(self, setting, default=None):
result = self.__settings.get(setting, default) return self.__settings.get(setting, default)
return result