Skip to content

Commit

Permalink
Remove trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosenpfand authored and macnewbold committed Dec 13, 2023
1 parent 95c2b86 commit f18bcc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/flask_debugtoolbar/panels/profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ def process_response(self, request, response):

self.stats = stats
self.function_calls = function_calls

if self.dump_filename:
if callable(self.dump_filename):
filename = self.dump_filename()
else:
filename = self.dump_filename
self.profiler.dump_stats(filename)

return response

def title(self):
Expand Down

0 comments on commit f18bcc7

Please sign in to comment.