mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2025-03-12 08:55:47 +00:00
appeased pylint in config.py attr lookup
This commit is contained in:
parent
0024a94f4e
commit
93091b6bd2
@ -198,9 +198,9 @@ class Configuration:
|
|||||||
"competition": self.config["variable"]["competition"],
|
"competition": self.config["variable"]["competition"],
|
||||||
"modules": self.config["variable"]["modules"]
|
"modules": self.config["variable"]["modules"]
|
||||||
}
|
}
|
||||||
if name in attr_lookup.keys():
|
try:
|
||||||
return attr_lookup[name]
|
return attr_lookup[name]
|
||||||
else:
|
except KeyError:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def __getitem__(self, key):
|
def __getitem__(self, key):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user