[Python 3 compability] Fixed the issue introduced by the Grant Wizard,
which fixes a issue with the Python 3.pull/3/head
parent
40c592a988
commit
af1e38a97a
|
@ -20,7 +20,10 @@ from pgadmin.browser.server_groups.servers.utils import parse_priv_to_db
|
|||
from pgadmin.utils import PgAdminModule
|
||||
from flask import Response, url_for
|
||||
from flask.ext.security import login_required
|
||||
from urllib import unquote
|
||||
try:
|
||||
from urllib import unquote
|
||||
except:
|
||||
from urllib.parse import unquote
|
||||
from pgadmin.utils.ajax import precondition_required
|
||||
from functools import wraps
|
||||
from pgadmin.utils.preferences import Preferences
|
||||
|
|
Loading…
Reference in New Issue