applied black

This commit is contained in:
Matthias Bisping 2022-02-17 09:51:17 +01:00
parent 9a32fc4e9d
commit 1b9e7f5bfe

View File

@ -34,7 +34,7 @@ def make_file_analyzer(analysis_endpoint):
def analyze_file(file_path):
predictions = requests.post(analysis_endpoint, data=open(file_path, "rb"))
predictions.raise_for_status()
predictions = predictions.json()
predictions = predictions.json()
return predictions
return analyze_file