From 0aa88590d08bbbf3c99c19934d6122247d52669b Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 2 Feb 2023 22:35:13 +0000 Subject: [PATCH] should generalize this somehow --- copyparty/up2k.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/copyparty/up2k.py b/copyparty/up2k.py index 3eff1ad9..c4350752 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -651,14 +651,8 @@ class Up2k(object): ff = "\033[0;35m{}{:.0}" fv = "\033[0;36m{}:\033[90m{}" fx = set(("html_head",)) - fd = { - "dbd": "dbd", - "lg_sbf": "lg_sbf", - "md_sbf": "md_sbf", - "mte": "mte", - "mth": "mth", - "mtp": "mtp", - } + fdl = ("dbd", "lg_sbf", "md_sbf", "mte", "mth", "mtp", "nrand", "rand") + fd = {x: x for x in fdl} fl = { k: v for k, v in flags.items()