From 7c54a1286adbff982915f95e17a66ca4f821f2eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian-Samuel=20Geb=C3=BChr?= Date: Thu, 12 Jan 2023 07:42:23 +0100 Subject: [PATCH] Add newlines for better overview --- models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models.py b/models.py index bf298ac..a2151e8 100644 --- a/models.py +++ b/models.py @@ -25,7 +25,7 @@ class Instance: return self.domain == other.domain and self.severity == other.severity and self.reject_media == other.reject_media and self.reject_reports == other.reject_reports and self.obfuscate == other.obfuscate def status_str(self): - return f"{self.severity}, Reject reports: {self.reject_reports}, Reject media: {self.reject_media}, Obfuscate: {self.obfuscate}" + return f"{self.severity}\nReject reports: {self.reject_reports}\nReject media: {self.reject_media}\nObfuscate: {self.obfuscate}" def parse_remote_block(self, instance_dict): self.domain = instance_dict["domain"] @@ -131,8 +131,8 @@ class Instance: table = Table(title="Differences", expand=True, show_lines=True) table.add_column("Domain", style="cyan") - table.add_column("Current remote status", style="magenta") table.add_column("Local status", style="green") + table.add_column("Current remote status", style="magenta") diffs = Instance.list_diffs(local_blocklist, remote_blocklist) for diff in diffs: if diff["local"] is None: