Skip to content

Commit

Permalink
Another fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Apr 18, 2019
1 parent 7b454ec commit 5e5ea9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions redash/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
import urlparse

import redis
<<<<<<< HEAD
from flask import Flask, current_app
from werkzeug.contrib.fixers import ProxyFix
from werkzeug.routing import BaseConverter
from statsd import StatsClient
=======
>>>>>>> Split redash/__init__.py to prevent import time side-effects.
from flask_mail import Mail
from flask_limiter import Limiter
from flask_limiter.util import get_ipaddr
Expand Down
2 changes: 1 addition & 1 deletion redash/handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def paginate(query_set, page, page_size, serializer, **kwargs):

def org_scoped_rule(rule):
if settings.MULTI_ORG:
return "/<org_slug:org_slug>{}".format(rule)
return "/<org_slug>{}".format(rule)

return rule

Expand Down

0 comments on commit 5e5ea9e

Please sign in to comment.