fix login su HDmario
This commit is contained in:
@@ -171,7 +171,7 @@ class SettingsWindow(xbmcgui.WindowXMLDialog):
|
|||||||
if not self.list_controls:
|
if not self.list_controls:
|
||||||
|
|
||||||
# If the channel path is in the "channels" folder, we get the controls and values using chaneltools
|
# If the channel path is in the "channels" folder, we get the controls and values using chaneltools
|
||||||
if os.path.join(config.get_runtime_path(), "channels") or os.path.join(config.get_runtime_path(), "specials") in channelpath:
|
if os.path.join(config.get_runtime_path(), "channels") in channelpath or os.path.join(config.get_runtime_path(), "specials") in channelpath:
|
||||||
|
|
||||||
# The call is made from a channel
|
# The call is made from a channel
|
||||||
self.list_controls, default_values = channeltools.get_channel_controls_settings(self.channel)
|
self.list_controls, default_values = channeltools.get_channel_controls_settings(self.channel)
|
||||||
|
|||||||
@@ -40,8 +40,8 @@
|
|||||||
{
|
{
|
||||||
"default": "",
|
"default": "",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"id": "email",
|
"id": "username",
|
||||||
"label": "email",
|
"label": "username",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"visible": true
|
"visible": true
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -52,8 +52,6 @@ def registerOrLogin(page_url, forced=False):
|
|||||||
'password': randPsw,
|
'password': randPsw,
|
||||||
'password_confirmation': randPsw}).url
|
'password_confirmation': randPsw}).url
|
||||||
if rq:
|
if rq:
|
||||||
from core import support
|
|
||||||
support.dbg()
|
|
||||||
config.set_setting('username', randEmail, server='hdmario')
|
config.set_setting('username', randEmail, server='hdmario')
|
||||||
config.set_setting('password', randPsw, server='hdmario')
|
config.set_setting('password', randPsw, server='hdmario')
|
||||||
platformtools.dialog_ok('HDmario',
|
platformtools.dialog_ok('HDmario',
|
||||||
|
|||||||
Reference in New Issue
Block a user