Fix copy-paste error in queue.empty (#9757)

This commit is contained in:
sanderland
2020-08-03 21:14:18 +02:00
committed by GitHub
parent c741d1cf9c
commit 323bc23c21
+1 -1
View File
@@ -36,7 +36,7 @@ class Queue:
def empty(self):
"""Whether the queue is empty."""
return ray.get(self.actor.qsize.remote())
return ray.get(self.actor.empty.remote())
def full(self):
"""Whether the queue is full."""