From 0c79f5061fc82747306d9ec69a505278b7f08cd7 Mon Sep 17 00:00:00 2001 From: elcorto Date: Thu, 15 Feb 2024 11:47:53 +0000 Subject: [PATCH] deploy: a873c79e59f39e657840b81de95b232ca02d84f8 --- _modules/psweep/psweep.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_modules/psweep/psweep.html b/_modules/psweep/psweep.html index 16d61f2..0c2d970 100644 --- a/_modules/psweep/psweep.html +++ b/_modules/psweep/psweep.html @@ -495,9 +495,10 @@

Source code for psweep.psweep

 
 
[docs] -def file_write(fn: str, txt: str, mode="w"): +def file_write(fn: str, txt: str, mode='w'): makedirs(os.path.dirname(fn)) - with open(fn, mode=mode) as fd: + + with open(fn, mode=mode) as fd: fd.write(txt)