From f7ee4223ade005e688bc3325732e5ceeaeff0c5f Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 8 Sep 2018 01:37:08 -0500 Subject: [PATCH] Version bump 3.1.03 Fix mask server error --- addon.xml | 2 +- resources/lib/helper/loghandler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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])