From 53f925bd99ab6117e9c8f7ed50e52248cb802055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E5=AD=9F=E6=8D=B7?= <718335940@qq.com> Date: Sun, 19 Mar 2023 18:16:00 +0800 Subject: [PATCH] fix --- update_url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_url.py b/update_url.py index 413d2d3..f51f49d 100644 --- a/update_url.py +++ b/update_url.py @@ -99,7 +99,7 @@ if DDAL_EMAIL and DDAL_PASSWORD: alias = 'config' alias_sc = 'dler' else: - repo = GITHUB_REPOSITORY.replace('/', '-') + repo = '-'.join(re_ddal_alias.findall(GITHUB_REPOSITORY)) alias = f"gh-{repo}" alias_sc = f"gh-{repo}-sc"