mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2026-10-07 21:28:31 +00:00
appeased pylint in config.py attr lookup
This commit is contained in:
1 parent
0024a94f4e
commit
93091b6bd2
1 file changed
+2
-2
+2
-2
@@ -198,9 +198,9 @@ class Configuration:
|
||||
"competition": self.config["variable"]["competition"],
|
||||
"modules": self.config["variable"]["modules"]
|
||||
}
|
||||
if name in attr_lookup.keys():
|
||||
try:
|
||||
return attr_lookup[name]
|
||||
else:
|
||||
except KeyError:
|
||||
return None
|
||||
|
||||
def __getitem__(self, key):
|
||||
|
||||
Reference in new issue
Block a user