diff --git a/src/dispatch/event/service.py b/src/dispatch/event/service.py index 9d1a3cbca870..103eba8f2685 100644 --- a/src/dispatch/event/service.py +++ b/src/dispatch/event/service.py @@ -5,8 +5,6 @@ import json import pytz -from requests import HTTPError - from dispatch.auth import service as auth_service from dispatch.case import service as case_service from dispatch.incident import service as incident_service diff --git a/src/dispatch/plugins/dispatch_google/docs/plugin.py b/src/dispatch/plugins/dispatch_google/docs/plugin.py index 1d52a873e71e..ea6897b96aee 100644 --- a/src/dispatch/plugins/dispatch_google/docs/plugin.py +++ b/src/dispatch/plugins/dispatch_google/docs/plugin.py @@ -88,7 +88,7 @@ def get_table_details(self, document_id: str, header: str): table_exists = False table_indices = [] headingId = "" - for i, element in enumerate(document_content): + for element in document_content: if "paragraph" in element and "elements" in element["paragraph"]: for item in element["paragraph"]["elements"]: if "textRun" in item: