Commit 85ce0685 authored by Jonathan Rehm's avatar Jonathan Rehm

Fix for Python 3

parent bc665fd0
# http://flask.pocoo.org/snippets/62/
from urlparse import urlparse, urljoin
try:
from urllib.parse import urlparse, urljoin
except ImportError:
from urlparse import urlparse, urljoin
from flask import request, url_for, redirect
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment