Skip to content

Commit

Permalink
Fixes blogofile serve on windows.
Browse files Browse the repository at this point in the history
Thanks to Seth de l'Isle for recognizing that we weren't actually
needing a regex here.
  • Loading branch information
EnigmaCurry committed Feb 22, 2011
1 parent f193c6e commit aa76c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blogofile/server.py
Expand Up @@ -76,7 +76,7 @@ def translate_path(self, path):
util.path_join(site_path.strip("/")))
else:
build_path = os.getcwd()
build_path = re.sub(build_path, os.path.join(os.getcwd(),"_site"), p)
build_path = p.replace(build_path, os.path.join(os.getcwd(),"_site"))
return build_path

def log_message(self, format, *args):
Expand Down

0 comments on commit aa76c4d

Please sign in to comment.