Skip to content
Snippets Groups Projects
Unverified Commit 6f7aa71b authored by Duncan Macleod's avatar Duncan Macleod
Browse files

Request.py: fix urlparse import for py2

parent 607dd1d4
Branches main
No related tags found
No related merge requests found
Pipeline #500462 passed
...@@ -33,7 +33,10 @@ import Admin ...@@ -33,7 +33,10 @@ import Admin
import DAO import DAO
import json import json
import time import time
from urllib.parse import urlparse, parse_qs #Re-named urllib.parse as of #3.x try:
from urllib.parse import urlparse, parse_qs
except ImportError:
from urlparse import (urlparse, parse_qs)
class RequestHandle(): class RequestHandle():
# Decide which GET URI to serve. # Decide which GET URI to serve.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment