mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-24 13:59:57 +00:00
Update window utils
Remove useless replace
This commit is contained in:
parent
07723ad02b
commit
f9db3c6134
@ -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 New Issue
Block a user