SteveDoyle2 / cpylog

A simple pure python colorama/HTML capable logger
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Updated spyder detection to avoid HTML #3

Closed rjyunis closed 2 years ago

rjyunis commented 2 years ago

I'm not sure if it's the newer version of spyder, or the fact that I don't have a full anaconda installation, but the existing detection does not work on the latest version of spyder (5.3.2).

'spyder' in sys.modules returns False.

This switch corrects the issue.

SteveDoyle2 commented 2 years ago

Anaconda shouldn't be required for Spyder (unless they changed something). There's some change to the Jupyter Notebook too that I found out recently, so not totally surprised.

I'll take a look soon.

SteveDoyle2 commented 2 years ago

Thanks!