Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Separate DB server config from DB config.

  • Loading branch information...
commit 3b794b6445d6ae0cf7c1de7eb658caa1614b9671 1 parent 9a1f0f5
Dustin Sallings dustin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/fetch.py
4 tools/fetch.py
View
@@ -14,9 +14,9 @@
import feedparser
-SERVER = os.getenv("COUCHDB") or 'http://127.0.0.1:5984/'
+SERVER = os.getenv("COUCHDB_SERVER") or 'http://127.0.0.1:5984/'
-DB = couchdb.Server(SERVER)['readme']
+DB = couchdb.Server(SERVER)[os.getenv("COUCHDB") or 'readme']
ISO8601 = "%Y-%m-%dT%H:%M:%S"
Please sign in to comment.
Something went wrong with that request. Please try again.