From 4b95d00672a068b5aee863cd2eb5aad195a92db5 Mon Sep 17 00:00:00 2001 From: Ilya Bezrukov Date: Wed, 31 Jul 2024 04:52:19 +0300 Subject: [PATCH] add logging --- tap.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tap.py b/tap.py index f9bc0a5..7bee975 100644 --- a/tap.py +++ b/tap.py @@ -85,10 +85,9 @@ def main(): while rs.running: tap = Tap.fake() total_earned += tap.tap_count + print("tap:", tap.tap_count, "earned:", total_earned) - if DRY_RUN: - print(tap) - else: + if not DRY_RUN: if not tap_request(tap): rs.kill()