warn about missing keys on stderr
This commit is contained in:
parent
3beacdbcb4
commit
0995eab3de
1 changed files with 2 additions and 1 deletions
|
@ -80,7 +80,8 @@ def load_config():
|
|||
d = d[part]
|
||||
for key in d:
|
||||
if key not in c:
|
||||
print "adding default value for %s.%s" % (section, key), '=', d[key]
|
||||
sys.stderr.write("adding default value for %s.%s = %s\n" % (
|
||||
section, key, str(d[key])))
|
||||
c[key] = d[key]
|
||||
|
||||
old_formats = getattr(settings, 'CONFIG', {}).get('video', {}).get('formats', [])
|
||||
|
|
Loading…
Reference in a new issue