mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-10 22:50:57 +08:00
Fixes class super for python 2.7
This commit is contained in:
@@ -7,7 +7,7 @@ from boto.sqs.message import Message
|
||||
|
||||
class Sqs(Broker):
|
||||
def __init__(self, list_key=Conf.PREFIX):
|
||||
super().__init__(list_key)
|
||||
super(Sqs, self).__init__(list_key)
|
||||
self.queue = self.get_queue()
|
||||
|
||||
def enqueue(self, task):
|
||||
|
||||
Reference in New Issue
Block a user