From 51cc5e8a2a48b2a420a47ccc1e2d7746c87af6be Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 13 Jan 2019 17:25:52 +0100 Subject: [PATCH] Fix to database parameter must be string - Fixes #604 --- default.py | 7 +++++++ 1 file changed, 7 insertions(+) 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)