parent
ef51a67779
commit
51cc5e8a2a
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue