fix: typo in log setup, error when replacing w/self
This commit is contained in:
parent
810cbd6f3d
commit
597f383724
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue