leegao / readme2tex

Renders TeXy Math for Github Readmes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remotes that are ssh instead of http

JohnMcCann opened this issue · comments

The path fails to correctly parse the username when the user is using a ssh as their first remote. This can be easily fixed by deleting a single '/' character from the parsing snippet in line 294 of render.py. As both http and ssh have a .com? right before the username, where ? is either "/" for http or "@" for ssh.

start = giturl.find('.com') + 5