Skip to content

Commit

Permalink
update filename_format for ProfilerMiddleware.
Browse files Browse the repository at this point in the history
  • Loading branch information
lidayan authored and davidism committed May 12, 2019
1 parent 3f7a5dd commit 9d712e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/werkzeug/middleware/profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(
sort_by=("time", "calls"),
restrictions=(),
profile_dir=None,
filename_format="{method}.{path}.{elapsed:06d}ms.{time:d}.prof",
filename_format="{method}.{path}.{elapsed:09.2f}ms.{time:f}.prof",
):
self._app = app
self._stream = stream
Expand Down

0 comments on commit 9d712e6

Please sign in to comment.