Skip to content

Commit 1ef4784

Browse files
committed
Rename
1 parent e74c57c commit 1ef4784

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

panel/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#---------------------------------------------------------------------
3737

3838
_PATH = os.path.abspath(os.path.dirname(__file__))
39-
_config_initialized = False
39+
_config_uninitialized = True
4040

4141
def validate_config(config, parameter, value):
4242
"""
@@ -432,7 +432,7 @@ def __getattribute__(self, attr):
432432
ensure that even on first access mutable parameters do not
433433
end up being modified.
434434
"""
435-
if not _config_initialized or attr in ('_param__private', '_globals', '_parameter_set', '__class__', 'param'):
435+
if _config_uninitialized or attr in ('_param__private', '_globals', '_parameter_set', '__class__', 'param'):
436436
return super().__getattribute__(attr)
437437

438438
from .io.state import state
@@ -618,7 +618,7 @@ def theme(self):
618618
_config._parameter_set = set(_params)
619619
config = _config(**{k: None if p.allow_None else getattr(_config, k)
620620
for k, p in _params.items() if k != 'name'})
621-
_config_initialized = True
621+
_config_uninitialized = False
622622

623623
class panel_extension(_pyviz_extension):
624624
"""

0 commit comments

Comments
 (0)