浏览代码

thread arg correction

marton levente 9 月之前
父节点
当前提交
8177903393
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      anafapi/anafspv.py

+ 1 - 1
anafapi/anafspv.py

@@ -46,7 +46,7 @@ class anafSPV(object):
         chrome_options.add_experimental_option('excludeSwitches', ['enable-automation'])
 
         driver = webdriver.Chrome(options=chrome_options)
-        thread = Thread(target=self.accept_cert, args=(window_title))
+        thread = Thread(target=self.accept_cert, args=(window_title,))
         thread.start()
         driver.get(self.KEYURL)
         self.cookies = driver.get_cookies()