Skip to content

Commit

Permalink
Merge pull request #2131 from woodsaj/issue2130
Browse files Browse the repository at this point in the history
use default tagdb if TAGDB setting is not set.
  • Loading branch information
DanCech committed Nov 28, 2017
2 parents c68ab72 + cf2afbf commit 25e77d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/graphite/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(self, finders=None, tagdb=None):
self.finders = finders

if tagdb is None:
tagdb = settings.TAGDB
tagdb = settings.TAGDB or 'graphite.tags.localdatabase.LocalDatabaseTagDB'
self.tagdb = get_tagdb(tagdb)

def get_finders(self, local=False):
Expand Down

0 comments on commit 25e77d3

Please sign in to comment.