Skip to content

Commit 726674f

Browse files
committed
【修改】:更换无效的变量
1 parent d4fb61a commit 726674f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmds/cmd_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def determine_url_valid(url_from_srv):
217217
r = requests.get(url_from_srv, stream=True, headers=headers)
218218
if r.status_code == requests.codes.not_found:
219219
if i == 2:
220-
print("Warning : %s is invalid." % package_url)
220+
print("Warning : %s is invalid." % url_from_srv)
221221
return False
222222
time.sleep(1)
223223
else:

0 commit comments

Comments
 (0)