Esri / Esri/crowdsource-reporter-scripts
issue with subbing values not from fields
Open
- Dominant language
- Python
- Stars
- 13
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
There is an error in the script. Line that says:
email_subject = email_subject.replace(sub, str(feature.attributes[message['body substitutions'][sub]]))
This tries to replace using a field value, but you are building the URL with configured strings, not field values. It works if you change this line to say:
email_subject = email_subject.replace(sub, str(message['body substitutions'][sub]))
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.