Skip to content
Permalink
Browse files

add hint about pushing information to the user in script template

  • Loading branch information
Gustry committed Jul 3, 2018
1 parent 22ba501 commit 0685197b6c3d40a08d83012c27d7b46f85a68151
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/script/ScriptTemplate.py
@@ -149,6 +149,9 @@ def processAlgorithm(self, parameters, context, feedback):
source.sourceCrs()
)

# Send some information to the user
feedback.pushInfo('CRS is {}'.format(source.sourceCrs().authid()))

# If sink was not created, throw an exception to indicate that the algorithm
# encountered a fatal error. The exception text can be any string, but in this
# case we use the pre-built invalidSinkError method to return a standard

0 comments on commit 0685197

Please sign in to comment.
You can’t perform that action at this time.