fix login su HDmario
This commit is contained in:
@@ -171,7 +171,7 @@ class SettingsWindow(xbmcgui.WindowXMLDialog):
|
||||
if not self.list_controls:
|
||||
|
||||
# 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
|
||||
self.list_controls, default_values = channeltools.get_channel_controls_settings(self.channel)
|
||||
|
||||
@@ -40,8 +40,8 @@
|
||||
{
|
||||
"default": "",
|
||||
"enabled": true,
|
||||
"id": "email",
|
||||
"label": "email",
|
||||
"id": "username",
|
||||
"label": "username",
|
||||
"type": "text",
|
||||
"visible": true
|
||||
},
|
||||
|
||||
@@ -52,8 +52,6 @@ def registerOrLogin(page_url, forced=False):
|
||||
'password': randPsw,
|
||||
'password_confirmation': randPsw}).url
|
||||
if rq:
|
||||
from core import support
|
||||
support.dbg()
|
||||
config.set_setting('username', randEmail, server='hdmario')
|
||||
config.set_setting('password', randPsw, server='hdmario')
|
||||
platformtools.dialog_ok('HDmario',
|
||||
|
||||
Reference in New Issue
Block a user