aboutsummaryrefslogtreecommitdiffstats
path: root/src/wqueue2.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/wqueue2.py')
-rwxr-xr-xsrc/wqueue2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wqueue2.py b/src/wqueue2.py
index 4c2cd4c..f60f947 100755
--- a/src/wqueue2.py
+++ b/src/wqueue2.py
@@ -13,7 +13,7 @@ import collections
u8open = functools.partial(open, encoding='utf8')
-class PersistentQueue3:
+class PersistentQueue:
def __init__(self, filename=None):
self.queue = collections.deque()
@@ -98,7 +98,7 @@ async def manage_client(reader, writer):
async def jobs_runner():
- jobs = PersistentQueue3(filename='queue.txt')
+ jobs = PersistentQueue(filename='queue.txt')
queue = []
while True:
job = await jobs.get_job()