Skip to content

Commit ab31037

Browse files
committed
minor reformatting
minor reformatting
1 parent 11331fe commit ab31037

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

backend/src/xfd_django/xfd_api/tasks/intel_x_identity.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def get_credentials(self, org: Organization):
183183
)
184184
LOGGER.error(e)
185185
continue
186-
186+
187187
# Insert credential data into the PE database
188188
LOGGER.info("Inserting IntelX credential data for %s", root.sub_domain)
189189
try:
@@ -200,8 +200,11 @@ def get_credentials(self, org: Organization):
200200

201201
def query_identity_api(self, domain, start_date, end_date):
202202
"""Create an initial search and return the search id."""
203-
url = BASE_URL +"/accounts/csv?selector={domain}&k={api_key}&datefrom={start_date}&dateto={end_date}".format(
204-
domain=domain, api_key=api_key, start_date=start_date, end_date=end_date
203+
url = (
204+
BASE_URL
205+
+ "/accounts/csv?selector={domain}&k={api_key}&datefrom={start_date}&dateto={end_date}".format(
206+
domain=domain, api_key=api_key, start_date=start_date, end_date=end_date
207+
)
205208
)
206209
payload = {}
207210
headers = {}

0 commit comments

Comments
 (0)