From 3a2f5f5620312d9c83edf831a0725d92d38b7453 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Tue, 13 Jul 2021 13:30:24 +0300 Subject: [PATCH] Island: reformat ransomware_report.py resource to conform to black --- monkey/monkey_island/cc/resources/ransomware_report.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/resources/ransomware_report.py b/monkey/monkey_island/cc/resources/ransomware_report.py index 0fb33e897..df193e693 100644 --- a/monkey/monkey_island/cc/resources/ransomware_report.py +++ b/monkey/monkey_island/cc/resources/ransomware_report.py @@ -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(), + } + )