Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get this issue #5

Open
profitegen opened this issue Jan 5, 2022 · 0 comments
Open

I get this issue #5

profitegen opened this issue Jan 5, 2022 · 0 comments

Comments

@profitegen
Copy link

I get the bellow error msg, any help is much appreciated

Traceback (most recent call last):
File "app.py", line 51, in
App().main()
File "app.py", line 37, in main
self.notify_via_email(recipient, blocked_result)
File "app.py", line 42, in notify_via_email
email = self.notifier.build_email(recipient, blocked_result)
File "/root/outlook-postmaster-query/email_notifier.py", line 35, in build_ema il
html = self._render_blocked_notification(self.BLOCKED_TEMPLATE['html'], reci pient['name'], blocked_result)
File "/root/outlook-postmaster-query/email_notifier.py", line 25, in _render_b locked_notification
delisting_url=self.config['outlook']['links']['delisting'],
File "/root/outlook-postmaster-query/venv/lib64/python3.6/site-packages/jinja2 /environment.py", line 1090, in render
self.environment.handle_exception()
File "/root/outlook-postmaster-query/venv/lib64/python3.6/site-packages/jinja2 /environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/root/outlook-postmaster-query/venv/lib64/python3.6/site-packages/jinja2 /_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "templates/blocked_notification.html", line 79, in top-level template cod e

The following{{ ' ' + ip_range_count if ip_range_count > 1 }} IP range{{ 's' if ip_range_count > 1 }} that
TypeError: must be str, not int

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant