Skip to content
This repository was archived by the owner on Sep 15, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions flask_fanstatic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
from werkzeug.utils import import_string
from werkzeug.wsgi import DispatcherMiddleware

# Test for Python 2 / Python 3 compatibility
try:
basestring
except NameError:
basestring = str


class Fanstatic(object):
def __init__(self, app=None):
Expand Down