diff --git a/addon.xml b/addon.xml index 4f8fcbea..585fcc78 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/resources/lib/helper/loghandler.py b/resources/lib/helper/loghandler.py index c416d736..7f571d3f 100644 --- a/resources/lib/helper/loghandler.py +++ b/resources/lib/helper/loghandler.py @@ -34,7 +34,7 @@ class LogHandler(logging.StreamHandler): self.sensitive['Token'].append(server['AccessToken']) self.sensitive['Server'].append(server['LocalAddress'].split('://')[1]) - self.sensitive['Server'].append(server['RemoteAddress'].split('://')[1]) + self.sensitive['Server'].append(server.get('RemoteAddress').split('://')[1]) if server.get('ManualAddress'): self.sensitive['Server'].append(server['ManualAddress'].split('://')[1])