Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site is not generated under Windows #28

Open
oleksandr-k12 opened this issue May 20, 2010 · 1 comment
Open

Site is not generated under Windows #28

oleksandr-k12 opened this issue May 20, 2010 · 1 comment

Comments

@oleksandr-k12
Copy link

Steps to reproduce:

  1. python hyde.py -i -s c:\mysite
  2. python hyde.py -g s c:\mysite
    Infinite loop starts and process never ends

I fixed it changing hardcoded slashes to os.sep in url.py:
return (parent.rstrip("/") + os.sep + child.lstrip("/")).rstrip("/")
and
url = url.strip(os.sep)

@navilan
Copy link
Member

navilan commented Jun 4, 2010

Thanks for pointing it out. Will fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants