diff --git a/app/app.py b/app/app.py index ee6f6db..4e32848 100644 --- a/app/app.py +++ b/app/app.py @@ -46,7 +46,8 @@ def load_driver(self): if config.os_name == 'Windows': self.driver = webdriver.Chrome(executable_path=r'C:\Users\Nityam\AppData\Local\Programs\Python\Python39\chromedriver.exe', options=options) - self.driver = webdriver.Chrome(options=options) + else: + self.driver = webdriver.Chrome(options=options) # Open WhatsApp URL in chrome browser self.driver.get("https://web.whatsapp.com")