Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Commit 6aae968

Browse files
authored
Update app.py
1 parent 7124109 commit 6aae968

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
from threading import Thread
55
from tapswap import TapSwap
6+
from bypass_js import driver_instance
7+
68

79
from telethon.sync import TelegramClient
810
from telethon.sync import functions, events
@@ -199,7 +201,7 @@ async def answer(event):
199201
nextMineTime = 0
200202

201203
url = getUrlsync().url
202-
tapswap_client = TapSwap(url, auto_upgrade, max_charge_level, max_energy_level, max_tap_level)
204+
tapswap_client = TapSwap(url, driver_instance.execute_script, auto_upgrade, max_charge_level, max_energy_level, max_tap_level)
203205

204206
print(url)
205207

0 commit comments

Comments
 (0)