Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] fixed minor saga file issue
  • Loading branch information
volaya committed Sep 14, 2013
1 parent 73dc9c4 commit 2e3dfba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/saga/SagaAlgorithm.py
Expand Up @@ -383,7 +383,7 @@ def exportRasterLayer(self, source):
if layer:
filename = str(layer.name())
else:
filename = os.path.basename(filename)
filename = os.path.basename(source)
validChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:"
filename = ''.join(c for c in filename if c in validChars)
if len(filename) == 0:
Expand Down

0 comments on commit 2e3dfba

Please sign in to comment.