Skip to content

Commit

Permalink
[processing] Fix evaluation of empty file names for file parameters
Browse files Browse the repository at this point in the history
in test suite

(cherry picked from commit 4fce449)
  • Loading branch information
nyalldawson committed Aug 2, 2021
1 parent eb44e8a commit d00f4a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/processing/tests/AlgorithmsTestBase.py
Expand Up @@ -292,6 +292,9 @@ def filepath_from_param(self, param):
else:
path = param['name']

if not path:
return None

return self.uri_path_join(prefix, path)

def uri_path_join(self, prefix, filepath):
Expand Down

0 comments on commit d00f4a3

Please sign in to comment.