[Bug]: get_config does not load latest from file #2409
Labels
Bug
Bug that stops user from using the tool or a major portion of pyRevit functionality [class]
Milestone
✈ Pre-Flight checks
🐞 Describe the bug
If
get_config
has already been called, and then thepyRevit_config.ini
file is edited,get_config
does not return the latest value from the file. This is true until the engine is reloaded (such as Ctrl + Shift + Alt.⌨ Error/Debug Message
No error message. The old value is still returned from `get_config`.
♻️ To Reproduce
You can run this in pyRevit or RevitPythonShell.
⏲️ Expected behavior
The latest data from
pyRevit_config.ini
will be read and returned.🖥️ Hardware and Software Setup (please complete the following information)
Additional context
A workaround is presented in the To Reproduce section. I posted about it here: Reload required on script update?
The text was updated successfully, but these errors were encountered: