Skip to content

Commit

Permalink
feat: Add 2 second delay before ending the test (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
eklairs committed Feb 9, 2024
1 parent 89ca8bc commit b60101b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smassh/ui/widgets/typing/space.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def restart(self, force: bool = False) -> None:
self.reset()

def check_restrictions(self) -> None:
if not self.tracker.stats.start_time:
if not self.tracker.stats.start_time or self.tracker.stats.elapsed_time < 1:
return

if min_speed := config_parser.get("min_speed"):
Expand Down

0 comments on commit b60101b

Please sign in to comment.