diff --git a/sickbeard/logger.py b/sickbeard/logger.py index 51358637205dd91cca3095f3c92960a397dc9976..9ff72da2e80683298b59472be2eb2b4528de727f 100644 --- a/sickbeard/logger.py +++ b/sickbeard/logger.py @@ -136,7 +136,7 @@ class Logger(object): if level == ERROR: #Replace the SSL error with a link to information about how to fix it. - re.sub(r'error \[Errno 1\] _ssl.c:\d{3}: error:\d{8}:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error', r'See: http://git.io/vJrkM', message) + message = re.sub(r'error \[Errno 1\] _ssl.c:\d{3}: error:\d{8}:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error', r'See: http://git.io/vJrkM', message) self.logger.exception(message, *args, **kwargs) classes.ErrorViewer.add(classes.UIError(message))