We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c045240 commit cc9145cCopy full SHA for cc9145c
1 file changed
XRPLib/timeout.py
@@ -8,7 +8,10 @@ def __init__(self, timeout: float):
8
:param timeout: The timeout, in seconds
9
:type timeout: float
10
"""
11
- self.timeout = timeout*1000
+ self.timeout = timeout
12
+ if self.timeout != None:
13
+ self.timeout = timeout*1000
14
+
15
self.start_time = time.ticks_ms()
16
17
def is_done(self):
0 commit comments