Skip to content

Commit

Permalink
Тест за проблем ByJohnie#14
Browse files Browse the repository at this point in the history
  • Loading branch information
lukavia committed Nov 27, 2021
1 parent 9ebb45c commit 791809b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.mtelnow"
name="A1 Xplore TV GO"
version="2.2.10"
version="2.2.11"
provider-name="Lukav &gt; Johnie">
<requires>
<import addon="inputstream.adaptive" version="2.1.0"/>
Expand Down
2 changes: 1 addition & 1 deletion default.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def build_url(query):
login_params = {'devId': device_id, 'user': username, 'pwd': password, 'rqT': 'true'} #, 'refr': 'true'}
responce = request('Login', login_params)

if 'error_code' in responce and responce['error_code'] == 'errClDevNotFound':
if 'error_code' in responce and responce['error_code'] in ['errClDevNotFound', 'errHoushNotEnabled']:
# Ако устройството не е регистрирано, го регистрираме
login_params = {'devId': '', 'user': username, 'pwd': password, 'rqT': 'true'}
responce = request('Login', login_params)
Expand Down

0 comments on commit 791809b

Please sign in to comment.