Skip to content
Permalink
Browse files
Update qgspathresolver.sip.in
  • Loading branch information
manisandro authored and nyalldawson committed Jul 9, 2021
1 parent ed16882 commit 3abd80cffa4901f7fe0314fb6b7330de072b853a
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/core/auto_generated/qgspathresolver.sip.in
@@ -156,7 +156,7 @@ Example - replace path with a variable:
.. code-block:: python

def my_processor(path):
return path.replace('c:/Users/ClintBarton/Documents/Projects', '@projectdir@')
return path.replace('c:/Users/ClintBarton/Documents/Projects', '$projectdir$')

QgsPathResolver.setPathWriter(my_processor)

0 comments on commit 3abd80c

Please sign in to comment.