mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fix getloglevel error that occurs sometimes
During fresh install where settings might not be created yet.
This commit is contained in:
parent
0c54257de6
commit
d974c4ed7c
1 changed files with 5 additions and 1 deletions
|
@ -67,7 +67,11 @@ class UserClient(threading.Thread):
|
|||
|
||||
def getLogLevel(self):
|
||||
|
||||
try:
|
||||
logLevel = int(self.addon.getSetting('logLevel'))
|
||||
except:
|
||||
logLevel = 0
|
||||
|
||||
return logLevel
|
||||
|
||||
def getUserId(self):
|
||||
|
|
Loading…
Reference in a new issue