python_library: Use https url
Otherwise, it gets a redirect and fails to work
This commit is contained in:
Родитель
88649da75f
Коммит
ec577f6e72
|
@ -17,7 +17,7 @@ module.exports = (robot) ->
|
|||
msg.send text
|
||||
|
||||
libraryMe = (robot, version, lib, callback) ->
|
||||
url = "http://docs.python.org/#{version}/library/#{lib}.html"
|
||||
url = "https://docs.python.org/#{version}/library/#{lib}.html"
|
||||
robot.http(url)
|
||||
.get() (err,res,body) ->
|
||||
if res.statusCode != 200
|
||||
|
|
Загрузка…
Ссылка в новой задаче