Prevent Bitdefender free from disinfecting a file

Hi, I'm a python developer and I have come into a problem with bitdefender. Whenever I run my code, bitdefender will block it, disinfect it, and then I need to go and remove it from quarentine. I added an exception but all that does is stop the program from going to quarentine when it starts disinfection. How do I stop the file from being disinfected at all?