Skip to content

Commit b66a8ca

Browse files
committed
1 parent 2dc067e commit b66a8ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bitvavo_api_upgraded/bitvavo.py

+3
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ def waitForReset(self, waitTime: float) -> None:
125125
self.waitForReset(timeToWait)
126126

127127
def run(self) -> None:
128+
if self.timeToWait < 0:
129+
self.timeToWait = 0.001 # 1ms
130+
128131
self.waitForReset(self.timeToWait)
129132

130133

0 commit comments

Comments
 (0)