Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scholar.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def _as_int(obj):

def _path2url(self, path):
"""Helper, returns full URL in case path isn't one."""
if path.startswith('http://'):
if path.startswith('http://') or path.startswith('https://'):
return path
if not path.startswith('/'):
path = '/' + path
Expand Down