diff --git a/V4.py b/V4.py index bf7f06b..1cf0f42 100755 --- a/V4.py +++ b/V4.py @@ -120,13 +120,12 @@ def FirefoxPC(Headless=Headless): return webdriver.Firefox(options=options) -driver = "" def printf(txt, end="", Mobdriver=driver): if Log: Timer(txt) - if FullLog: + if FullLog and Mobdriver: LogError(txt, Mobdriver=Mobdriver)