Function Code all on one line

I have an issue where the code is un readable. Anyone else have this or know a solution ?

image

I remember seen a report from such a similar issue in an old release of Node-RED but that was quickly fixed. It was related the python node loding their own copy of the ACE library. What is your Node-RED version ?

I'll bet you have node-red-contrib-python3-function installed and as @Andrei says you are not on a recent version of NR

see Problems with the function node in 0.20.2

Guys, thanks very much for your help on that. Upgrade did the trick. Not sure why it anstalled that version. Was only installed 4 days ago

How was it installed and on what platform?

ubuntu 18.04, installed via command line

What command line?