Skip to content

Commit b7d73c6

Browse files
committed
Merge pull request mitsuhiko#67 from CentricWebEstate/master
Fix python3 package location
2 parents 09ebf28 + 7272a0a commit b7d73c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

flask_oauth.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"""
1111
import httplib2
1212
from functools import wraps
13-
from urlparse import urljoin
13+
try:
14+
from urlparse import urljoin
15+
except ImportError:
16+
from urllib.parse import urljoin
1417
from flask import request, session, json, redirect, Response
1518
from werkzeug import url_decode, url_encode, url_quote, \
1619
parse_options_header, Headers

0 commit comments

Comments
 (0)