Single character for true

main
Bob Mottram 2021-07-25 14:50:03 +01:00
parent 3433c03f0d
commit 035b0e2f94
1 changed files with 1 additions and 1 deletions

View File

@ -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):