From 41040720f093f5f82ad1a5b710351b7d513f0db3 Mon Sep 17 00:00:00 2001 From: Anonymus Raccoon Date: Sun, 26 Apr 2020 15:28:12 +0200 Subject: [PATCH] Cleaning up --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index a91cabc..866406f 100755 --- a/main.py +++ b/main.py @@ -25,12 +25,11 @@ class AnonymousGoose: trick.revert() def run(self, disable_x): - next_trick_time = 2 + next_trick_time = 3 while not self.should_exit: try: if CommandHelper.run("killall htop") == 0 or CommandHelper.run("killall top") == 0: Term.print_all("You tough that this will be as easy as this?\n") - time.sleep(1) next_trick_time -= 1 if next_trick_time <= 0: trick = Trick.get_random_trick(not disable_x) @@ -38,6 +37,7 @@ class AnonymousGoose: trick.run() if trick.is_reversible: self.tricks.append(trick) + time.sleep(1) except KeyboardInterrupt: ...