forked from boyska/sito-hackit-17
unicode fix, py2 ti odio
This commit is contained in:
parent
4c6d21d006
commit
896997f093
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ def get_global_data():
|
|||
with io.open(fname, encoding='utf8') as buf:
|
||||
try:
|
||||
data = yaml.load(buf)
|
||||
except Exception as exc:
|
||||
except Exception:
|
||||
logging.exception("Syntax error reading %s; skipping", fname)
|
||||
return None
|
||||
if data is None:
|
||||
|
@ -205,7 +205,7 @@ class TalkGridDirective(Directive):
|
|||
mintime=mintime, maxtime=maxtime,
|
||||
timestep=GRID_STEP,
|
||||
)
|
||||
output.append(nodes.raw('', '<h4>%s</h4>' %
|
||||
output.append(nodes.raw('', u'<h4>%s</h4>' %
|
||||
day.strftime('%A %d').title(),
|
||||
format='html'))
|
||||
output.append(nodes.raw('', render, format='html'))
|
||||
|
|
Loading…
Reference in a new issue