trivial: switch forgotten execfile() call to exec() (#40911)

This commit is contained in:
Frédéric Péters 2021-03-01 15:18:53 +01:00
parent b77c415819
commit 6c05e32569
1 changed files with 1 additions and 1 deletions

View File

@ -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())