[Python 3 compability] Fixed the issue introduced by the Grant Wizard,

which fixes a issue with the Python 3.
pull/3/head
Seçkin Alan 2016-04-14 11:53:47 +05:30 committed by Ashesh Vashi
parent 40c592a988
commit af1e38a97a
1 changed files with 4 additions and 1 deletions

View File

@ -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