Add more layer hints as seen in the wild
This commit is contained in:
parent
6b054c6815
commit
0fedaedb6e
2 changed files with 11 additions and 11 deletions
|
|
@ -53,7 +53,7 @@ class Theme(object):
|
|||
return getattr(self, key)
|
||||
|
||||
def get(self, key, noneval=None):
|
||||
val = getattr(self, key)
|
||||
val = getattr(self, key, None)
|
||||
return val if val is not None else noneval
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue