Browse Source

Fixes typo

Ask Solem 8 years ago
parent
commit
8c7d11dcf6
1 changed files with 1 additions and 1 deletions
  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(