From ffd7549d2967f0ec86be6378a8f8fac4f6cccef6 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sun, 31 Aug 2025 18:47:55 +0200 Subject: [PATCH] comments --- radioPlayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radioPlayer.py b/radioPlayer.py index d0cf773..efe7d07 100644 --- a/radioPlayer.py +++ b/radioPlayer.py @@ -58,7 +58,7 @@ def load_dict_from_custom_format(file_path: str) -> dict: result_dict = {} with open(file_path, 'r') as file: for line in file: - if line.strip() == "": + if line.strip() == "" or line.startswith(";"): continue key, value = line.split(':', 1) result_dict[key.strip()] = value.strip()