Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix default port on redis memory.

  • Loading branch information...
commit 77a4173d773eb45cf13072e991f8bfaf4b9c3bbb 1 parent 8b6e314
@jmhobbs jmhobbs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app.py
View
2  app.py
@@ -9,7 +9,7 @@
app = Flask(__name__)
-url = urlparse.urlparse(os.environ.get('REDISTOGO_URL', 'redis://localhost'))
+url = urlparse.urlparse(os.environ.get('REDISTOGO_URL', 'redis://localhost:6379'))
mem = don.memory.redisbacked.Memory({'host':url.hostname, 'port':url.port, 'db':0, 'password': url.password})
bot = don.Don(mem)
Please sign in to comment.
Something went wrong with that request. Please try again.