Correct time.sleep to just sleep in bind.py

time was not imported, so this was raising an exception.
This commit is contained in:
ridiculousfish 2021-05-02 11:25:33 -07:00
parent 202e5e53d5
commit 0c79a8d3af

View file

@ -329,7 +329,7 @@ for t in range(0, 5):
if not sp.spawn.isalive():
break
# This is cheesy, but on CI with thread-sanitizer this can be slow enough that the process is still running, so we sleep for a bit.
time.sleep(1)
sleep(1)
else:
print("Fish did not exit via binding!")
sys.exit(1)