Fix getting global value from configutils.Values
This commit is contained in:
parent
8b666d2d2e
commit
cb631d532a
@ -124,8 +124,7 @@ class Values:
|
|||||||
|
|
||||||
def _get_fallback(self):
|
def _get_fallback(self):
|
||||||
"""Get the fallback global/default value."""
|
"""Get the fallback global/default value."""
|
||||||
if self._values:
|
for scoped in self._values:
|
||||||
scoped = self._values[-1]
|
|
||||||
if scoped.pattern is None:
|
if scoped.pattern is None:
|
||||||
# It's possible that the setting is only customized from the
|
# It's possible that the setting is only customized from the
|
||||||
# default for a given URL.
|
# default for a given URL.
|
||||||
|
Loading…
Reference in New Issue
Block a user