You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
comments
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user