Skip to content
Permalink
Browse files

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

…15869, 15097)

(cherry-picked from 271e67e)
  • Loading branch information
nyalldawson committed Nov 23, 2016
1 parent 39ff97e commit a78efc0b3c281fa820d334b3ddaf1dbaa21e3a63
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/ImportIntoPostGIS.py
@@ -103,7 +103,7 @@ def processAlgorithm(self, progress):
table = self.getParameterValue(self.TABLENAME).strip()
if table == '':
table = layer.name()
table = "_".join(table.split(".")[:-1])
table = table.replace('.', '_')
table = table.replace(' ', '').lower()[0:62]
providerName = 'postgres'

0 comments on commit a78efc0

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