Angelo Gladding
lahacker.net

dlv5vbq7lzlthol5 4b942a3185b37d00

angelo@lahacker.net

South Pasadena, California, United States currently feels like 84.62°F

Home CodesolarizedCommits

Bringing all to date

by Angelo Gladding 09CEF88F29CC1A44

Changed Files

--- a/solarized.py

+++ b/solarized.py

     """      """-    try:-        lexer = pygments.lexers.get_lexer_for_filename(filename)-    except pygments.util.ClassNotFound:-        return code+    if filename.endswith(".py"):+        lexer = pygments.lexers.Python3Lexer()+    else:+        try:+            lexer = pygments.lexers.get_lexer_for_filename(filename)+        except pygments.util.ClassNotFound:+            return code     lexer.add_filter("codetagify")     # TODO random_id = uuid.uuid4()     formatter = pygments.formatters.HtmlFormatter(linenos=lines, style="Solar",