mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
PEP8 fixes for the utils module. Fixes #3076
This commit is contained in:
committed by
Dave Page
parent
c6e405ce72
commit
c3ddb7df38
@@ -30,6 +30,6 @@ def safe_str(x):
|
||||
|
||||
if not IS_PY2:
|
||||
x = x.decode('utf-8')
|
||||
except:
|
||||
except Exception:
|
||||
pass
|
||||
return cgi.escape(x)
|
||||
|
||||
Reference in New Issue
Block a user