trivial: switch forgotten execfile() call to exec() (#40911)
This commit is contained in:
parent
b77c415819
commit
6c05e32569
|
@ -223,4 +223,4 @@ ZOO_NANTERRE_LOG_EXPIRATION_DAYS = 365 * 2
|
|||
|
||||
local_settings_file = os.environ.get('ZOO_SETTINGS_FILE')
|
||||
if local_settings_file and os.path.exists(local_settings_file):
|
||||
execfile(local_settings_file)
|
||||
exec(open(local_settings_file).read())
|
||||
|
|
Loading…
Reference in New Issue