Commit 0bc90138 authored by Momme Butenschoen's avatar Momme Butenschoen

Small syntax errors after hasty editing.

parent aecbb40b
......@@ -638,7 +638,7 @@ class PyProTex:
if self.prologue:
for key in self.keys:
if key in Rec:
if self.opt['d']:
if self.opt['h']:
......@@ -1032,7 +1032,7 @@ class PyProTex:
def check_error(self,flag,tag):
"""Raise prologue status error flag is False."""
if not flag:
if not flag:
raise RunTimeError,"ProTeX: invalid prologue, missing {}: in {}".format(tag,self.name_is)
def hed_item(self,):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment