chown venv dir in install script

set default ace editor options
lower font size on editor
This commit is contained in:
Matthew Scragg 2014-09-08 12:49:37 -05:00
parent f2f1e3f51e
commit 6459d6b842
5 changed files with 19 additions and 16 deletions

View file

@ -178,7 +178,10 @@ class Wiki():
meta_end = re.search("\n(\.{3}|\-{3})", content)
if not meta_end:
return None
return yaml.safe_load(content[0:meta_end.start()])
try:
return yaml.safe_load(content[0:meta_end.start()])
except Exception as e:
return {'error': e.message}
def compare(self, name, old_sha, new_sha):
old = self.get_page(name, sha=old_sha)