Skip to content

Commit

Permalink
Merge pull request #517 from EverythingMe/cleanup
Browse files Browse the repository at this point in the history
Fix: URL query runner was failing without base URL
  • Loading branch information
arikfr committed Jul 30, 2015
2 parents d078e80 + ca95e92 commit d155f16
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 d155f16

Please sign in to comment.