Skip to content

Commit

Permalink
More windows path fixes (refs #36)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 20, 2019
1 parent 8c330bb commit e057285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processing_r/processing/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def load_vector_layer_command(self, name, layer, _):
source_parts = QgsProviderRegistry.instance().decodeUri('ogr', layer.source())
file_path = source_parts.get('path')
if self.pass_file_names:
return '{}="{}"'.format(name, file_path)
return '{}="{}"'.format(name, QDir.fromNativeSeparators(file_path))

layer_name = source_parts.get('layerName')
if layer_name:
Expand Down

0 comments on commit e057285

Please sign in to comment.