From 514d556b354cc86c48ffafe8435cc7dd4bc9a7c6 Mon Sep 17 00:00:00 2001 From: eli Date: Thu, 22 Feb 2024 15:32:49 +0900 Subject: [PATCH] fix terminology & docstring --- utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index 48321c7..f95c49d 100644 --- a/utils.py +++ b/utils.py @@ -154,11 +154,11 @@ def gen_graphql_body(sha256hash, varname=None, varvalue=None): def custom_key_exists(key, config_data, value=True): - '''Checks if a given custom key exists in config.txt and is set to the specified value (true by default).''' + '''Checks if a given config key exists in config.txt and is set to the specified value (true by default).''' # https://github.com/frozenpandaman/s3s/wiki/config-keys if key not in SUPPORTED_KEYS: - print("(!) Checking unexpected custom key") + print("(!) Checking unexpected config key") return str(config_data.get(key, None)).lower() == str(value).lower()