소스 검색

Add option in local constructor to show window

JoostSijm 4 년 전
부모
커밋
2f89e0f53f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/rival_regions_wrapper/middleware.py

+ 2 - 2
src/rival_regions_wrapper/middleware.py

@@ -22,8 +22,8 @@ class MiddlewareBase(ABC):
 class LocalAuthentication(MiddlewareBase):
     """Local authentication"""
 
-    def __init__(self, username, password, login_method):
-        self.client = AuthenticationHandler()
+    def __init__(self, username, password, login_method, show_window=False):
+        self.client = AuthenticationHandler(show_window)
         self.client.set_credentials({
             'username': username,
             'password': password,