Commits

Anonymous committed 1ba2368

little fix

  • Participants
  • Parent commits ac56a5e

Comments (0)

Files changed (1)

File tools/css_parser.py

     """ remove newlines, insert space after comma, replace 
     two spaces with one space after comma """
     if isinstance(string, basestring):
-        string = re_comma2(', ', re_comma(', ', re_line.sub('', string)))
+        string = re_comma2.sub(', ', re_comma.sub(', ', re_line.sub('', string)))
     return string
     
 class CSSParser(object):