Skip to content

Commit

Permalink
Merge pull request #3 from neil-pozetroninc/master
Browse files Browse the repository at this point in the history
BUGFIX: RethinkDB Backend
  • Loading branch information
marctc authored May 21, 2018
2 parents 745c37f + 8d9bdfd commit f9e6426
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kaneda/backends/rethink.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ 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)
if self.connection is None:
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 f9e6426

Please sign in to comment.