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

Negative sleep time length #21

Open
Verth-Elone opened this issue May 4, 2021 · 0 comments
Open

Negative sleep time length #21

Verth-Elone opened this issue May 4, 2021 · 0 comments

Comments

@Verth-Elone
Copy link

During the execution of calls, it's possible to run into negative sleep lengths

Exception in thread Thread-44:
Traceback (most recent call last):
  File "C:\Python39\lib\threading.py", line 954, in _bootstrap_inner
    self.run()
  File "D:\Projects\crypto\venv\lib\site-packages\python_bitvavo_api\bitvavo.py", line 109, in run
    self.waitForReset(self.timeToWait)
  File "D:\Projects\crypto\venv\lib\site-packages\python_bitvavo_api\bitvavo.py", line 99, in waitForReset
    time.sleep(waitTime)
ValueError: sleep length must be non-negative

Process finished with exit code -1
Verth-Elone added a commit to Verth-Elone/python-bitvavo-api that referenced this issue May 4, 2021
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