Ask Solem 8 år sedan
förälder
incheckning
8c7d11dcf6
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      celery/backends/cassandra.py

+ 1 - 1
celery/backends/cassandra.py

@@ -137,7 +137,7 @@ class CassandraBackend(BaseBackend):
         Arguments:
             write (bool): are we a writer?
         """
-        if self._connections is not None:
+        if self._connection is not None:
             return
         try:
             self._connection = cassandra.cluster.Cluster(