This commit is contained in:
Saifeddine ALOUI 2024-03-20 22:46:05 +01:00
parent 1203d98820
commit cb2fc6095d

View File

@ -310,7 +310,7 @@ class BaseConfig:
"""
if key == "exceptional_keys":
return super().__setattr__(key, value)
if key in self.exceptional_keys + ["config","file_path"] or key.startswith("__"):
if key in self.exceptional_keys + ["config","file_path","copy"] or key.startswith("__"):
super().__setattr__(key, value)
else:
if self.config is None: