Skip to content
Permalink
Browse files

[processing] Fix import to postgis alg when table name not set (fix #…

…15869, 15097)
  • Loading branch information
nyalldawson committed Nov 21, 2016
1 parent 3dcf03c commit 271e67e37b781260d889778e97064efae72a0b15
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/ImportIntoPostGIS.py
@@ -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'

0 comments on commit 271e67e

Please sign in to comment.
You can’t perform that action at this time.