fix(flomni): stop calling write_pdf_report() twice per scan start
CI for csaxs_bec / test (push) Failing after 4m28s

tomo_scan()'s new-scan branch called write_pdf_report() once inside
the "real e-account" if-branch and again unconditionally right after,
so every scan start under a real account wrote the PDF, sent the
scilog entry, and (as of the previous commit) uploaded to the samples
folder twice. Keep only the unconditional call, matching LamNI's
equivalent structure.
This commit is contained in:
x01dc
2026-07-27 16:15:15 +02:00
parent cdc20457f1
commit 297b0dd7d3
@@ -2529,7 +2529,6 @@ class Flomni(
"test additional info",
"BEC",
)
self.write_pdf_report()
else:
self.tomo_id = 0
self.write_pdf_report()