brendonh / pyth

Python text markup and conversion
MIT License
89 stars 79 forks source link

rtf reading example broken? #1

Closed staytuned closed 14 years ago

staytuned commented 14 years ago

Hi, I've just cloned repo and tried to run rtf reading example. Error:

Traceback (most recent call last): File "D:\dev\soft\pyth\rtf15.py", line 11, in doc = Rtf15Reader.read(open(filename)) File "D:\dev\soft\pyth\pyth\plugins\rtf15\reader.py", line 103, in read return reader.go() File "D:\dev\soft\pyth\pyth\plugins\rtf15\reader.py", line 124, in go self.parse() File "D:\dev\soft\pyth\pyth\plugins\rtf15\reader.py", line 143, in parse self.group = self.stack[-1] IndexError: list index out of range

brendonh commented 14 years ago

Fixed.