Skip to content

Commit

Permalink
druid bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Oct 20, 2015
1 parent 3051311 commit 0ec69a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions panoramix/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,7 @@ def query(
m.metric_name: m.json_obj
for m in self.metrics if m.metric_name in metrics
}
granularity = granularity or "all"
if granularity != "all":
granularity = utils.parse_human_timedelta(
granularity).total_seconds() * 1000
Expand Down

0 comments on commit 0ec69a4

Please sign in to comment.