summaryrefslogtreecommitdiff
path: root/tools/perf/python/treport.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/python/treport.py')
-rwxr-xr-xtools/perf/python/treport.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/python/treport.py b/tools/perf/python/treport.py
index e02121475370..fb583786b17a 100755
--- a/tools/perf/python/treport.py
+++ b/tools/perf/python/treport.py
@@ -638,8 +638,9 @@ class ReportApp(App):
@work(thread=True, exclusive=True)
def load_profile(self) -> None:
"""Build the profile in a thread so the UI stays responsive."""
- profile = self.loading
- assert profile is not None
+ loading = self.loading
+ assert loading is not None
+ profile = loading
def progress() -> None:
try: