skorokithakis / tbvaccine

A small utility to pretty-print Python tracebacks. ⛺
MIT License
377 stars 14 forks source link

FIX: code_dir inclusion on Windows #22

Closed gabrielcnr closed 6 years ago

gabrielcnr commented 6 years ago

I am using tbvaccine on Windows and the library was highlighting/colouring every line on the traceback because of the second conditional based on the filename starting with /, which on Windows will be always True.

I made this small change to make it work on Windows.

skorokithakis commented 6 years ago

Thank you!