Island: reformat ransomware_report.py resource to conform to black

This commit is contained in:
VakarisZ 2021-07-13 13:30:24 +03:00
parent a0e0e0a9be
commit 3a2f5f5620
1 changed files with 6 additions and 2 deletions

View File

@ -9,5 +9,9 @@ class RansomwareReport(flask_restful.Resource):
@jwt_required
def get(self):
encrypted_files_table = ransomware_report.get_encrypted_files_table()
return jsonify({"encrypted_files_table": encrypted_files_table,
"propagation_stats": ransomware_report.get_propagation_stats()})
return jsonify(
{
"encrypted_files_table": encrypted_files_table,
"propagation_stats": ransomware_report.get_propagation_stats(),
}
)