uhd-urz / elAPI

An extensible API client for eLabFTW
GNU Affero General Public License v3.0
5 stars 0 forks source link

Confiuration isn't validated when developer_mode is Missing() #133

Closed mhxion closed 2 months ago

mhxion commented 3 months ago

When developer_mode doesn't exist in elapi.yml, reinitiate_config is not run, from configuration/__init__py:


if get_development_mode() is False:  
# <- get_development_mode() cannot be False when it doesn't exist before reinitiate_config is run
    reinitiate_config(ignore_essential_validation=True)