Commit 242ec406 authored by Issac Kelly's avatar Issac Kelly

Fix for heroku + redistogo where user+pass is basic in URL.

parent 49b05036
......@@ -79,7 +79,7 @@ class CacheClass(BaseCache):
unix_socket_path = None
if ':' in self.server:
host, port = self.server.split(':')
host, port = self.server.rsplit(':', 1)
try:
port = int(port)
except (ValueError, TypeError):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment