diff --git a/default.py b/default.py index b5dffe69..b90c770e 100644 --- a/default.py +++ b/default.py @@ -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)