Skip to content

Commit ec57d25

Browse files
committedOct 16, 2017
Merge branch 'master' of github.com:qgis/QGIS into plugman
2 parents c33dbd9 + a3f7655 commit ec57d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/db_manager/dlg_sql_layer_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def __init__(self, iface, layer, parent=None):
155155
schema = uri.schema()
156156
if schema and schema.upper() != 'PUBLIC':
157157
sql = 'SELECT * FROM ' + schema + '.' + sql
158-
else
158+
else:
159159
sql = 'SELECT * FROM ' + sql
160160
self.editSql.setText(sql)
161161
self.executeSql()

0 commit comments

Comments
 (0)
Please sign in to comment.