Force DAT to write file when prompted "over write unloaded file?"

Hi !

I’m making a config manager in which I’m saving tables (dat) to external .dat files.
This config manager is handling all the tasks on its own via a python extension.
I’m using datOp.par.writepulse.pulse() to trigger the write. On some occasions, I’m prompted by the GUI if I want to overwrite the unloaded file.

Since all the loading and saving it triggered by an external interface, I can’t manually click the yes or no. I’m looking for a way to say always overwrite but haven’t found any arg to pass to the function to do so. Is there any way I can achieve this ?

Thanks,

Nicolas

unelegant, but use python to delete the file first?