Skip to content
Permalink
Browse files

[processing] always load ExecuteSQL algorithm

  • Loading branch information
alexbruy committed Feb 10, 2017
1 parent c0eb997 commit 501a5f9268f40a0c3aea63f2cf9beeed75164f49
Showing with 2 additions and 5 deletions.
  1. +2 −5 python/plugins/processing/algs/qgis/QGISAlgorithmProvider.py
@@ -185,6 +185,7 @@
from .TruncateTable import TruncateTable
from .Polygonize import Polygonize
from .FixGeometry import FixGeometry
from .ExecuteSQL import ExecuteSQL

pluginPath = os.path.normpath(os.path.join(
os.path.split(os.path.dirname(__file__))[0], os.pardir))
@@ -254,7 +255,7 @@ def __init__(self):
ShortestPathPointToPoint(), ShortestPathPointToLayer(),
ShortestPathLayerToPoint(), ServiceAreaFromPoint(),
ServiceAreaFromLayer(), TruncateTable(), Polygonize(),
FixGeometry()
FixGeometry(), ExecuteSQL()
]

if hasMatplotlib:
@@ -271,10 +272,6 @@ def __init__(self):
PolarPlot(),
])

if Qgis.QGIS_VERSION_INT >= 21300:
from .ExecuteSQL import ExecuteSQL
self.alglist.extend([ExecuteSQL()])

self.externalAlgs = [] # to store algs added by 3rd party plugins as scripts

folder = os.path.join(os.path.dirname(__file__), 'scripts')

0 comments on commit 501a5f9

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