Skip to content

Commit

Permalink
[processing] always load ExecuteSQL algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Feb 10, 2017
1 parent c0eb997 commit 501a5f9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions python/plugins/processing/algs/qgis/QGISAlgorithmProvider.py
Expand Up @@ -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))
Expand Down Expand Up @@ -254,7 +255,7 @@ def __init__(self):
ShortestPathPointToPoint(), ShortestPathPointToLayer(),
ShortestPathLayerToPoint(), ServiceAreaFromPoint(),
ServiceAreaFromLayer(), TruncateTable(), Polygonize(),
FixGeometry()
FixGeometry(), ExecuteSQL()
]

if hasMatplotlib:
Expand All @@ -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')
Expand Down

0 comments on commit 501a5f9

Please sign in to comment.