mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Update window utils
Remove useless replace
This commit is contained in:
parent
07723ad02b
commit
f9db3c6134
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ def window(key, value=None, clear=False, window_id=10000):
|
|||
key = key.replace('.bool', "")
|
||||
value = "true" if value else "false"
|
||||
|
||||
window.setProperty(key.replace('.json', "").replace('.bool', ""), value)
|
||||
window.setProperty(key, value)
|
||||
else:
|
||||
result = window.getProperty(key.replace('.json', "").replace('.bool', ""))
|
||||
|
||||
|
|
Loading…
Reference in a new issue