We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21f528f commit b7eb1afCopy full SHA for b7eb1af
1 file changed
src/cs50/flask.py
@@ -4,11 +4,11 @@
4
5
def _wrap_flask(f):
6
from distutils.version import StrictVersion
7
+ from .cs50 import _formatException
8
9
if f.__version__ < StrictVersion("1.0"):
10
return
11
- from .cs50 import _formatException
12
f.logging.default_handler.formatter.formatException = lambda exc_info: _formatException(*exc_info)
13
14
if os.getenv("CS50_IDE_TYPE") == "online":
0 commit comments