瀏覽代碼

Fixes typo

Ask Solem 8 年之前
父節點
當前提交
8c7d11dcf6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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(