From 4c8b91b73bd0b3936fbd37502716d4d7c0d555d9 Mon Sep 17 00:00:00 2001 From: Jinming Hu <438600480@qq.com> Date: Sun, 20 Jun 2021 18:22:37 +0800 Subject: [PATCH] Change branch name in update.py to main --- update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.py b/update.py index 8ea9138..e867e00 100755 --- a/update.py +++ b/update.py @@ -8,8 +8,8 @@ EXCLUDE_DIRS = ['.git', 'docs', '.vscode', '.circleci', 'site'] README_MD = ['README.md', 'readme.md', 'index.md'] TXT_EXTS = ['md', 'txt'] -TXT_URL_PREFIX = 'https://github.com/conanhujinming/comments-for-awesome-courses/blob/master/' -BIN_URL_PREFIX = 'https://github.com/conanhujinming/comments-for-awesome-courses/raw/master/' +TXT_URL_PREFIX = 'https://github.com/conanhujinming/comments-for-awesome-courses/blob/main/' +BIN_URL_PREFIX = 'https://github.com/conanhujinming/comments-for-awesome-courses/raw/main/' def list_files(course: str):