Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grays out site packages in tracebacks #33

Merged
merged 13 commits into from
Nov 1, 2017
Prev Previous commit
Next Next commit
lowered flask version requirement based on testing
dmalan committed Oct 30, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b7d33227ac848af13b582b3a715a259670408010
2 changes: 1 addition & 1 deletion src/cs50/flask.py
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

# Only patch 0.12 (in case logging changes in 0.13)
version = StrictVersion(get_distribution("flask").version)
assert version >= StrictVersion("0.12") and version < StrictVersion("0.13")
assert version >= StrictVersion("0.11") and version < StrictVersion("0.13")

# Get default logger
import flask.logging