Fix to database parameter must be string

- Fixes #604
This commit is contained in:
croneter 2019-01-13 17:25:52 +01:00
parent ef51a67779
commit 51cc5e8a2a

View file

@ -189,5 +189,12 @@ class Main():
if __name__ == '__main__':
log.info('%s started' % v.ADDON_ID)
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)
return
Main()
log.info('%s stopped' % v.ADDON_ID)