Added check to see if addon has already been setup

This commit is contained in:
Abby Gourlay 2020-03-30 17:43:41 +01:00
parent 2cef5b727f
commit b4a2ee9d90

View file

@ -132,7 +132,8 @@ class Service(xbmc.Monitor):
try: try:
self.connect.register() self.connect.register()
set_addon_mode() if not settings('SyncInstallRunDone.bool'):
set_addon_mode()
except Exception as error: except Exception as error:
LOG.exception(error) LOG.exception(error)