write errors out to stderr instead of stdout

This fixes listing games in json format to not include this error message.
This commit is contained in:
Wade Berrier 2020-08-30 17:00:36 -06:00 committed by Mathieu Comandon
parent 5069f0fddc
commit fe01f93f85

View file

@ -47,7 +47,7 @@ try:
"LOCALE_DIR: %s\n" % optional_settings.LOCALE_DIR
)
except ImportError:
sys.stdout.write(
sys.stderr.write(
"Unable to load locale dir, translations won't work.\n"
)