mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-05 16:16:14 +08:00
formatting code
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
from queue import Full, Queue
|
||||
from time import monotonic as time
|
||||
|
||||
|
||||
# add implementation of putleft to Queue
|
||||
class Dequeue(Queue):
|
||||
def putleft(self, item, block=True, timeout=None):
|
||||
@@ -30,4 +30,4 @@ class Dequeue(Queue):
|
||||
return self.putleft(item, block=False)
|
||||
|
||||
def _putleft(self, item):
|
||||
self.queue.appendleft(item)
|
||||
self.queue.appendleft(item)
|
||||
|
||||
Reference in New Issue
Block a user