diff --git a/python/plugins/processing/script/ScriptTemplate.py b/python/plugins/processing/script/ScriptTemplate.py index 0631a3ecda8..453deb16936 100644 --- a/python/plugins/processing/script/ScriptTemplate.py +++ b/python/plugins/processing/script/ScriptTemplate.py @@ -150,7 +150,7 @@ class ExampleProcessingAlgorithm(QgsProcessingAlgorithm): ) # Send some information to the user - feedback.pushInfo('CRS is {}'.format(source.crs().authid())) + 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