Skip to content

Commit

Permalink
[processing] Fix import to postgis alg when table name not set (fix #…
Browse files Browse the repository at this point in the history
…15869, 15097)
  • Loading branch information
nyalldawson committed Nov 21, 2016
1 parent 3dcf03c commit 271e67e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/ImportIntoPostGIS.py
Expand Up @@ -105,7 +105,7 @@ def processAlgorithm(self, progress):
table.strip()
if not table or table == '':
table = layer.name()
table = "_".join(table.split(".")[:-1])
table = table.replace('.', '_')
table = table.replace(' ', '').lower()[0:62]
providerName = 'postgres'

Expand Down

0 comments on commit 271e67e

Please sign in to comment.