From 1195c7d6ded072e4144e4ced0bd536505c6f72a9 Mon Sep 17 00:00:00 2001 From: John Cote Date: Fri, 9 Jul 2021 00:16:41 -0400 Subject: [PATCH] settings: Don't need to store result --- otp/settings/Settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/otp/settings/Settings.py b/otp/settings/Settings.py index bc1e8bc..9918750 100644 --- a/otp/settings/Settings.py +++ b/otp/settings/Settings.py @@ -30,5 +30,4 @@ class Settings: self.__settings[setting] = value def getSetting(self, setting, default=None): - result = self.__settings.get(setting, default) - return result + return self.__settings.get(setting, default)