We don't use tuples for settings now
This commit is contained in:
parent
9f6c946279
commit
7469f4855f
@ -37,7 +37,7 @@ class Settings:
|
||||
"""
|
||||
Retrieve the comment of a setting.
|
||||
"""
|
||||
if hasattr(self, item) and isinstance(object.__getattribute__(self, item), tuple):
|
||||
if item in self.settings_keys:
|
||||
return object.__getattribute__(self, item)[1]
|
||||
for key in self.settings_keys:
|
||||
if getattr(self, key) == item:
|
||||
|
Loading…
Reference in New Issue
Block a user