Fix to database parameter must be string
This commit is contained in:
parent
3fe0d51614
commit
5cd5b81198
1 changed files with 8 additions and 1 deletions
|
@ -189,5 +189,12 @@ class Main():
|
|||
|
||||
if __name__ == '__main__':
|
||||
log.info('%s started' % v.ADDON_ID)
|
||||
Main()
|
||||
try:
|
||||
v.database_paths()
|
||||
except RuntimeError as err:
|
||||
# Database does not exists
|
||||
log.error('The current Kodi version is incompatible')
|
||||
log.error('Error: %s', err)
|
||||
else:
|
||||
Main()
|
||||
log.info('%s stopped' % v.ADDON_ID)
|
||||
|
|
Loading…
Reference in a new issue