aboutsummaryrefslogtreecommitdiffstats
path: root/backend/fileutil.py
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2023-11-27 02:06:48 -0800
committerPinapelz <yukais@pinapelz.com>2023-11-27 02:06:48 -0800
commitc3bedc484493bcc3b071b29b515666692451f735 (patch)
tree2f70552c0b0259d9487bbebadc13c20350d09b99 /backend/fileutil.py
parent49e45901dee25402e1e093989848e8ab469f0038 (diff)
fix: regression with youtube generation
- fixed missing group and videoCount keys
Diffstat (limited to 'backend/fileutil.py')
-rw-r--r--backend/fileutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/fileutil.py b/backend/fileutil.py
index 2aa2d6f..c12ae43 100644
--- a/backend/fileutil.py
+++ b/backend/fileutil.py
@@ -55,7 +55,7 @@ def get_local_channels(path: str = "data"):
raise Exception("Local channel data not found")
with open(path, "r", encoding="utf-8") as file:
rows = file.read().splitlines()
- return [tuple(row.split(",")) for row in rows]
+ return [tuple(row.split(":")) for row in rows]
def check_diff_refresh():
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage