We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01bfbcd commit 32a6e42Copy full SHA for 32a6e42
dash/dash.py
@@ -51,7 +51,7 @@
51
from . import _validate
52
from . import _watch
53
54
-flask_compress_version = parse_version(get_distribution("flask-compress").version)
+_flask_compress_version = parse_version(get_distribution("flask-compress").version)
55
56
# Add explicit mapping for map files
57
mimetypes.add_type("application/json", ".map", True)
@@ -284,7 +284,7 @@ def __init__(
284
elif isinstance(server, bool):
285
name = name if name else "__main__"
286
self.server = flask.Flask(name) if server else None
287
- if self.server is not None and flask_compress_version >= parse_version(
+ if self.server is not None and _flask_compress_version >= parse_version(
288
"1.6.0"
289
):
290
# flask-compress==1.6.0 changed default to ['br', 'gzip']
0 commit comments