Skip to content

Commit

Permalink
Fixed bug where the connection would always be to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-pozetroninc authored May 21, 2017
1 parent 0caf247 commit c5b440a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kaneda/backends/rethink.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def __init__(self, db, table_name=None, connection=None, host=None, port=None, u
self.connection = r.connect(host=host, port=port, db=db, timeout=timeout)
self.db = db
self.table_name = table_name
self.connection = r.connect(db=db, timeout=timeout)
self._create_database()

def _get_payload(self, name, value, tags, id_):
Expand Down

0 comments on commit c5b440a

Please sign in to comment.