Browse Source

Fixed CACHE_BACKEND parsing

Ales Zoulek 14 years ago
parent
commit
a179038fec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/backends/cache.py

+ 1 - 1
celery/backends/cache.py

@@ -62,7 +62,7 @@ class CacheBackend(KeyValueStoreBackend):
         backend = backend or self.app.conf.CELERY_CACHE_BACKEND
         self.expires = int(self.expires)
         self.backend, _, servers = partition(backend, "://")
-        self.servers = servers.split(";")
+        self.servers = servers.rstrip('/').split(";")
         try:
             self.Client = backends[self.backend]
         except KeyError: