From fadfd387545d3ef66525b81780f9e5bfe3d81c9a Mon Sep 17 00:00:00 2001 From: mez Date: Thu, 22 May 2025 20:43:24 +0100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20show=20negative=20trade=20balan?= =?UTF-8?q?ces,=20don=E2=80=99t=20trade=20away=20faves?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- colors.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/colors.py b/colors.py index ac71aa4..5901c97 100644 --- a/colors.py +++ b/colors.py @@ -123,7 +123,7 @@ for event in log.log: thecard["priority"] = 1 else: if thecard["priority"] == 0: - if thedeck in variables.highpriority: + if thedeck in variables.highpriority or thecard["name"] in variables.faves: thecard["priority"] = 1 elif len(thecard["mass"]) > 0: thecard["priority"] = 3 @@ -1156,7 +1156,10 @@ def indexgen(): if len(variables.subfolder) > 0: content.write("/" + variables.subfolder) content.write("/assets/banner.png\" loading=\"lazy\">") - content.write("\n