From 196a9ce2fc20f0bcabe2c7cbfd037c1c4cdd7fb3 Mon Sep 17 00:00:00 2001 From: alexlyttle Date: Mon, 18 Jan 2021 15:41:39 +0000 Subject: [PATCH] Fixed _filename bug --- cpnest/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpnest/utils.py b/cpnest/utils.py index 4de1085a..94aa1d2e 100644 --- a/cpnest/utils.py +++ b/cpnest/utils.py @@ -78,7 +78,7 @@ class LogFile: """ def __init__(self, filename, verbose=0, loggername='cpnest'): - self.filename = filename + self._filename = filename self._verbose = verbose self._logger = logging.getLogger(loggername) self.handler = None