0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-27 06:03:52 +01:00
This commit is contained in:
2025-08-31 18:47:55 +02:00
parent ad6572a7b8
commit ffd7549d29

View File

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