Skip to content

Commit

Permalink
Merge pull request #1603 from luipir/master
Browse files Browse the repository at this point in the history
[GdalTools] fix blocker bug https://hub.qgis.org/issues/11275
  • Loading branch information
jef-n committed Oct 3, 2014
2 parents f5054a1 + c9e0328 commit dbe4da8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/plugins/GdalTools/tools/GdalTools_utils.py
Expand Up @@ -476,6 +476,11 @@ def getFilterExtensions(self, aFilter):

@classmethod
def getFilterName(self, aFilter):
if isinstance(aFilter, list):
if len(aFilter):
aFilter = aFilter[0]
else:
aFilter = ""
return string.strip(re.sub('\ \(.*$', '', aFilter))

@classmethod
Expand Down

0 comments on commit dbe4da8

Please sign in to comment.