Angelo Gladding
lahacker.net

dlv5vbq7lzlthol5 4b942a3185b37d00

angelo@lahacker.net

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

Home CodesolarizedCommits

Primary key fingerprint: 4B94 2A31 85B3 7D00 3333 1F5B 7EA7 262D F7BC FE18 Subkey fingerprint: 09CE F88F 29CC 1A44 4AE6 BA73 D169 886E 865C 9DA1 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",