소스 검색

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(