From 035b0e2f942d1c7b3fe4d12365aae7b2fd43f721 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Jul 2021 14:50:03 +0100 Subject: [PATCH] Single character for true --- shares.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shares.py b/shares.py index 612f16c97..06da0eef1 100644 --- a/shares.py +++ b/shares.py @@ -742,7 +742,7 @@ def _sharesCatalogParams(path: str) -> (bool, float, float, str): value = arg.split('=')[1] if key == 'today': value = value.lower() - if 'true' in value or 'y' in value or '1' in value: + if 't' in value or 'y' in value or '1' in value: today = True elif key.startswith('min'): if isfloat(value):