Suggest changed this line to: "if self.stats is None:" #128900
Closed as not planned
Description
The cprofile.create_stats() might return {}
When self.stats = {}
"if not self.stats:" will be True and exception triggered.
Suggest changed this line to:
"if self.stats is None:"
Metadata
Assignees
Labels
No labels