Permalink
Browse files

Fixes blogofile serve on windows.

Thanks to Seth de l'Isle for recognizing that we weren't actually
needing a regex here.
  • Loading branch information...
1 parent f193c6e commit aa76c4d3f03af64d24fb377000430437a65dd4ac @EnigmaCurry committed Feb 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 blogofile/server.py
View
@@ -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):

0 comments on commit aa76c4d

Please sign in to comment.