Skip to content

Commit 21f92b5

Browse files
committed
[fix] 修复pushUrl未配置相关Secrets报错
之前的修复版本未考虑充分,这次从yml中进行空值判断
1 parent 22308fd commit 21f92b5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pushUrl.py

-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ def parse_stiemap(site):
1919
try:
2020
result = requests.get(site)
2121
big = re.findall('<loc>(.*?)</loc>', result.content.decode('utf-8'), re.S)
22-
print('当前已有url:')
23-
print(list(big))
2422
return list(big)
2523
except:
2624
print('请检查你的url是否有误。')

0 commit comments

Comments
 (0)