From 20f6eb6796c504760112d565983346ae1c276eac Mon Sep 17 00:00:00 2001 From: piair Date: Fri, 30 Sep 2022 15:05:18 +0200 Subject: [PATCH] prevent double logpoints --- V4.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/V4.py b/V4.py index 6d29ce5..0cc4f25 100755 --- a/V4.py +++ b/V4.py @@ -1051,11 +1051,12 @@ def CustomStart(Credentials): except Exception as e: printf(e) break - - try: - LogPoint(_mail) - except Exception as e: - print("CustomStart " + str(e)) + + if not "tout" in action + try: + LogPoint(_mail) + except Exception as e: + print("CustomStart " + str(e)) driver.close()