settings: Don't need to store result
This commit is contained in:
parent
5fccccd206
commit
1195c7d6de
1 changed files with 1 additions and 2 deletions
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue