Skip to content

Commit

Permalink
❌ Deleting break
Browse files Browse the repository at this point in the history
  • Loading branch information
shamhi committed Sep 6, 2024
1 parent a6c19b4 commit 5e086ba
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bot/core/tapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@ async def run(self, proxy: str | None) -> None:
f"Trying again...")

await asyncio.sleep(delay=2)
break

await asyncio.sleep(delay=randint(2, 4))

Expand All @@ -468,9 +467,9 @@ async def run(self, proxy: str | None) -> None:
task_id = task['id']
is_completed = task['isCompleted']

for task in tasks_config:
if task['id'] == task_id:
amount_reward = int(task.get('rewardCoins', 0))
for task_config in tasks_config:
if task_config['id'] == task_id:
amount_reward = int(task_config.get('rewardCoins', 0))

if not task_id.startswith('hamster_youtube'):
continue
Expand Down

0 comments on commit 5e086ba

Please sign in to comment.