mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-29 06:44:00 -06:00
mechanic: fix stat unrolling
This commit is contained in:
+2
-1
@@ -910,7 +910,8 @@ class StatsBuilder:
|
||||
return stats
|
||||
|
||||
def unroll(self) -> Stats:
|
||||
self.history.pop()
|
||||
if len(self.history) > 1:
|
||||
self.history.pop()
|
||||
return self.history[-1]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user