mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +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):
|
||||
|
||||
logLevel = int(self.addon.getSetting('logLevel'))
|
||||
try:
|
||||
logLevel = int(self.addon.getSetting('logLevel'))
|
||||
except:
|
||||
logLevel = 0
|
||||
|
||||
return logLevel
|
||||
|
||||
def getUserId(self):
|
||||
|
|
Loading…
Reference in a new issue