mirror of
https://github.com/dtomlinson91/panaetius.git
synced 2025-12-22 04:55:44 +00:00
linting
This commit is contained in:
@@ -79,9 +79,7 @@ class Config:
|
|||||||
if self.skip_header_init:
|
if self.skip_header_init:
|
||||||
config_file_location = self.config_path / "config.yml"
|
config_file_location = self.config_path / "config.yml"
|
||||||
else:
|
else:
|
||||||
config_file_location = (
|
config_file_location = self.config_path / self.header_variable / "config.yml"
|
||||||
self.config_path / self.header_variable / "config.yml"
|
|
||||||
)
|
|
||||||
try:
|
try:
|
||||||
with open(config_file_location, "r", encoding="utf-8") as config_file:
|
with open(config_file_location, "r", encoding="utf-8") as config_file:
|
||||||
# return dict(toml.load(config_file))
|
# return dict(toml.load(config_file))
|
||||||
|
|||||||
Reference in New Issue
Block a user