From 597f3837244cce6f501cf16f96e2cac3a81c8ab2 Mon Sep 17 00:00:00 2001 From: "A.M. Rowsell" Date: Sun, 20 Apr 2025 16:04:00 -0400 Subject: [PATCH] fix: typo in log setup, error when replacing w/self --- discorss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discorss.py b/discorss.py index 12e3054..d90c7fb 100755 --- a/discorss.py +++ b/discorss.py @@ -101,9 +101,9 @@ class Discorss: return # Loading the config file with open(self.config_file_path, "r") as config_file: - self.self.app_config = json.load(config_file) + self.app_config = json.load(config_file) # Set up logging - self.logger = logging.getself.logger(__name__) + self.logger = logging.getLogger(__name__) logging.basicConfig( filename=str(self.log_dir + self.log_file_path), encoding="utf-8",