Commits

hizel-work  committed 573e2b0

проверка на нахождение подписи

  • Participants
  • Parent commits 4f65e8e

Comments (0)

Files changed (1)

File lorparser.py

         if isinstance(item, unicode) and not re_quote.match(item):
             print >>f, item.rstrip()
     text_content = f.getvalue()
+    text_sign = ''
+    if comment_sign:
+        text.sign = comment_sign.text
     f.close()
-    return (text_content.rstrip(), comment_sign.text.lstrip().rstrip())
+    return (text_content.rstrip(), text_sign)
 
 def parse_comment_links(nick, cache):
     url = BASE_URL+'show-comments.jsp?nick='+nick