Skip to content

Commit

Permalink
fix minor race, we want visible_at defined before flagging as visible
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed Jan 27, 2024
1 parent 5bd2ba8 commit 18da279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyramid_debugtoolbar/toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def process_response(self, request, response):
panel.process_response(response)

self.response = response
self.visible = True
self.visible_at = time.time()
self.visible = True

def inject(self, request, response):
"""
Expand Down

0 comments on commit 18da279

Please sign in to comment.