Skip to content
Permalink
Browse files

[processing] fix gdal's ogrinfo algorithm

  • Loading branch information
nirvn committed Jan 16, 2018
1 parent add40c1 commit 9db2d64d521accffb51acbc9e9a4ef12ff4d6e9c
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/algs/gdal/ogrinfo.py
@@ -26,7 +26,7 @@
__revision__ = '$Format:%H$'


from qgis.core import (QgsProcessingParameterFeatureSource,
from qgis.core import (QgsProcessingParameterVectorLayer,
QgsProcessingParameterBoolean,
QgsProcessingParameterFileDestination,
QgsProcessingOutputHtml)
@@ -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))

0 comments on commit 9db2d64

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