You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: