We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adad40e commit db5ef0cCopy full SHA for db5ef0c
src/cs50/flask.py
@@ -4,7 +4,7 @@
4
from os import getenv
5
from pkg_resources import get_distribution
6
7
-from .cs50 import formatException
+from .cs50 import _formatException
8
9
# Try to monkey-patch Flask, if installed
10
try:
@@ -18,7 +18,7 @@
18
# https://docs.python.org/3/library/logging.html#logging.Formatter.formatException
19
20
import flask.logging
21
- flask.logging.default_handler.formatter.formatException = lambda exc_info: formatException(*exc_info)
+ flask.logging.default_handler.formatter.formatException = lambda exc_info: _formatException(*exc_info)
22
except Exception:
23
pass
24
0 commit comments