Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError #1

Open
Aka-Bobur opened this issue May 29, 2024 · 0 comments
Open

UnboundLocalError #1

Aka-Bobur opened this issue May 29, 2024 · 0 comments

Comments

@Aka-Bobur
Copy link

'player'
Exception in callback Cron.set_result(<_GatheringFu...assignment")]>)
handle: <Handle Cron.set_result(<_GatheringFu...assignment")]>)>
Traceback (most recent call last):
File "C:\Program Files\Python3913\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, self.args)
File "c:\Users\TSNQB\Desktop\TapSwap-Clicker.venv\lib\site-packages\aiocron_init
.py", line 112, in set_result
raise result
File "c:\Users\TSNQB\Desktop\TapSwap-Clicker\clicker.py", line 610, in sendTaps
time_to_recharge = ((energy_level
500)-energy) / charge_level
UnboundLocalError: local variable 'energy_level' referenced before assignment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant