diff --git a/static/templates/widgets/poll_widget_results.hbs b/static/templates/widgets/poll_widget_results.hbs index 062851d8738a5b..158e7d8eb72bf2 100644 --- a/static/templates/widgets/poll_widget_results.hbs +++ b/static/templates/widgets/poll_widget_results.hbs @@ -8,4 +8,4 @@ ({{ names }}) {{/if}} -{{/each}} \ No newline at end of file +{{/each}} diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py index fa31acf8bf1487..4f73240c8ed305 100644 --- a/zerver/lib/actions.py +++ b/zerver/lib/actions.py @@ -1,5 +1,6 @@ import datetime import itertools +import json import logging import os import time @@ -37,7 +38,6 @@ from psycopg2.extras import execute_values from psycopg2.sql import SQL from typing_extensions import TypedDict -import json from analytics.lib.counts import COUNT_STATS, RealmCount, do_increment_logging_stat from analytics.models import StreamCount diff --git a/zerver/lib/widget.py b/zerver/lib/widget.py index 675b0f76a56fcd..e77e72848bbcb6 100644 --- a/zerver/lib/widget.py +++ b/zerver/lib/widget.py @@ -2,9 +2,9 @@ import re from typing import Any, MutableMapping, Optional, Tuple -from zerver.models import SubMessage from zerver.lib.markdown import markdown_convert -from zerver.models import get_realm +from zerver.models import SubMessage, get_realm + def filter_and_render_string(input: str) -> str: # Run through the markdown engine so that links will work