From 358da358a05325935febb5960aba101a1cf9b0db Mon Sep 17 00:00:00 2001 From: piair Date: Mon, 18 Apr 2022 09:29:45 +0200 Subject: [PATCH] well --- V4.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/V4.py b/V4.py index 23203f6..f42aec9 100755 --- a/V4.py +++ b/V4.py @@ -122,10 +122,11 @@ def FirefoxPC(Headless=Headless): def printf(txt, end="", Mobdriver=driver): if Log: print(Timer(txt)) - elif FullLog and Mobdriver: - LogError(Timer(txt), Mobdriver=Mobdriver) - else : - print(Timer(txt), Mobdriver) + elif FullLog: + try : + LogError(Timer(txt), Mobdriver=Mobdriver) + except Exception as e: + print(Timer(e)) def CustomSleep(temps):