mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-10 07:26:01 -06:00
Fix typo in freshly added check.
This commit is contained in:
parent
e9da157cc7
commit
2f097cd016
@ -354,7 +354,7 @@ class TablespaceView(PGChildNodeView):
|
||||
try:
|
||||
SQL, name = self.get_sql(gid, sid, data, tsid)
|
||||
# Most probably this is due to error
|
||||
if not isinstance(sql, (str, unicode)):
|
||||
if not isinstance(SQL, (str, unicode)):
|
||||
return SQL
|
||||
|
||||
SQL = SQL.strip('\n').strip(' ')
|
||||
|
Loading…
Reference in New Issue
Block a user