add logging

This commit is contained in:
Ilya Bezrukov 2024-07-31 04:52:19 +03:00
parent 837113ea9c
commit 4b95d00672

5
tap.py
View File

@ -85,10 +85,9 @@ def main():
while rs.running: while rs.running:
tap = Tap.fake() tap = Tap.fake()
total_earned += tap.tap_count total_earned += tap.tap_count
print("tap:", tap.tap_count, "earned:", total_earned)
if DRY_RUN: if not DRY_RUN:
print(tap)
else:
if not tap_request(tap): if not tap_request(tap):
rs.kill() rs.kill()