Python formatting

This commit is contained in:
Mouse Reeve
2021-09-18 11:33:43 -07:00
parent acfb1bb376
commit 08f6a97653
10 changed files with 17 additions and 32 deletions

View File

@ -222,9 +222,7 @@ def get_data(url, params=None, timeout=10):
"""wrapper for request.get"""
# check if the url is blocked
if models.FederatedServer.is_blocked(url):
raise ConnectorException(
f"Attempting to load data from blocked url: {url}"
)
raise ConnectorException(f"Attempting to load data from blocked url: {url}")
try:
resp = requests.get(