Skip to content

Commit

Permalink
[processing] fix gdal's ogrinfo algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jan 16, 2018
1 parent add40c1 commit 9db2d64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/processing/algs/gdal/ogrinfo.py
Expand Up @@ -26,7 +26,7 @@
__revision__ = '$Format:%H$'


from qgis.core import (QgsProcessingParameterFeatureSource,
from qgis.core import (QgsProcessingParameterVectorLayer,
QgsProcessingParameterBoolean,
QgsProcessingParameterFileDestination,
QgsProcessingOutputHtml)
Expand All @@ -45,8 +45,8 @@ def __init__(self):
super().__init__()

def initAlgorithm(self, config=None):
self.addParameter(QgsProcessingParameterFeatureSource(self.INPUT,
self.tr('Input layer')))
self.addParameter(QgsProcessingParameterVectorLayer(self.INPUT,
self.tr('Input layer')))
self.addParameter(QgsProcessingParameterBoolean(self.SUMMARY_ONLY,
self.tr('Summary output only'),
defaultValue=True))
Expand Down

0 comments on commit 9db2d64

Please sign in to comment.