mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-10 00:20:55 +08:00
Fixes connectionerror bug on 2.7
This commit is contained in:
@@ -48,4 +48,4 @@ class Disque(Broker):
|
||||
return redis_client
|
||||
except redis.exceptions.ConnectionError:
|
||||
continue
|
||||
raise ConnectionError('Could not connect to any Disque nodes')
|
||||
raise redis.exceptions.ConnectionError('Could not connect to any Disque nodes')
|
||||
|
||||
Reference in New Issue
Block a user