Skip to content

Commit 1cb007e

Browse files
committed
refine log
1 parent be38af9 commit 1cb007e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/ojhtml2markdown.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,13 @@ def leet_lint_url(url):
3030
urls = {}
3131
for url in [leetcode_url, lintcode_url]:
3232
response = requests.head(url)
33-
print(response)
3433
if response.status_code != 404:
3534
if url.startswith('https://leetcode'):
3635
urls['leetcode'] = url
3736
elif url.startswith('http://www.lintcode'):
3837
urls['lintcode'] = url
3938
else:
40-
print(url)
39+
print('cannot find url with: {}'.format(url))
4140
return urls
4241

4342

0 commit comments

Comments
 (0)