mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-22 06:13:25 -07:00
Update regex to allow numbers in config variables
This commit is contained in:
parent
efa97fb445
commit
0bf36743b6
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ class Config(object):
|
|||
Returns something from the ini unless it is a real property
|
||||
of the configuration object or is not all caps.
|
||||
"""
|
||||
if not re.match(r'[A-Z_]+$', name):
|
||||
if not re.match(r'[A-Z0-9_]+$', name):
|
||||
return super(Config, self).__getattr__(name)
|
||||
else:
|
||||
return self.check_setting(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue