summaryrefslogtreecommitdiff
path: root/plugin.video.wakanim/resources/lib/login.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.video.wakanim/resources/lib/login.py')
-rw-r--r--plugin.video.wakanim/resources/lib/login.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin.video.wakanim/resources/lib/login.py b/plugin.video.wakanim/resources/lib/login.py
index 4d92a54..2ead064 100644
--- a/plugin.video.wakanim/resources/lib/login.py
+++ b/plugin.video.wakanim/resources/lib/login.py
@@ -51,7 +51,7 @@ def login(username, password, args):
response = urllib2.urlopen("https://www.wakanim.tv/" + args._country + "/v2/catalogue")
html = response.read()
- if ("Meine Benachrichtigungen verwalten" in html) or ("Gérer mes notifications" in html) or ("Manage my notifications" in html):
+ if ("Meine Benachrichtigungen verwalten" in html) or ("Gérer mes notifications" in html) or ("Manage my notifications" in html) or ("Настройки уведомлений" in html):
# session is valid
return True
@@ -70,7 +70,7 @@ def login(username, password, args):
# check for login string
html = response.read()
- if ("Meine Benachrichtigungen verwalten" in html) or ("Gérer mes notifications" in html) or ("Manage my notifications" in html):
+ if ("Meine Benachrichtigungen verwalten" in html) or ("Gérer mes notifications" in html) or ("Manage my notifications" in html) or ("Настройки уведомлений" in html):
# save session to disk
cj.save(cookiepath, ignore_discard=True)
return True