From: Leandro Lucarella Date: Sat, 14 Jul 2012 18:09:49 +0000 (+0200) Subject: Initialize SubDivXQuery.cur X-Git-Url: https://git.llucax.com/software/subdivxget.git/commitdiff_plain/f274666ba6db3400c33faf64aa40c3d2ba2d5156 Initialize SubDivXQuery.cur This is not really needed, but serves as documentation on the class members. --- diff --git a/subdivxget b/subdivxget index b5d01ff..bd6fc6e 100755 --- a/subdivxget +++ b/subdivxget @@ -43,6 +43,7 @@ class SubDivXHTMLParser(HTMLParser.HTMLParser): self.parsing = False self.subs = [] self.attr = None + self.cur = None self.in_script_style = False def handle_starttag(self, tag, attrs):