Skip to content

Commit

Permalink
Merge pull request #1774 from sopel-irc/fix-db.get_uri
Browse files Browse the repository at this point in the history
db: fix get_uri() to return the actual connection URI
  • Loading branch information
dgw authored Dec 7, 2019
2 parents 83bd5e2 + 4ee6dfd commit b024bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopel/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def execute(self, *args, **kwargs):

def get_uri(self):
"""Returns a URL for the database, usable to connect with SQLAlchemy."""
return 'sqlite:///{}'.format(self.filename)
return self.url

# NICK FUNCTIONS

Expand Down

0 comments on commit b024bf3

Please sign in to comment.