Skip to content

Commit

Permalink
Fix: URL query runner was failing without base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr committed Jul 30, 2015
1 parent 7e6b739 commit ca95e92
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions redash/query_runner/url.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ def annotate_query(cls):
return False

def run_query(self, query):
base_url = self.configuration["url"]
base_url = self.configuration.get("url", None)

try:
error = None

query = query.strip()

if base_url is not None and base_url != "":
Expand Down

0 comments on commit ca95e92

Please sign in to comment.