Load credential file from correct path

This commit is contained in:
Joscha
2021-06-01 09:18:08 +00:00
parent f6b26f4ead
commit e1bda94329
3 changed files with 5 additions and 3 deletions

View File

@ -69,6 +69,7 @@ class Section:
class DefaultSection(Section):
def working_dir(self) -> Path:
# TODO Change to working dir instead of manually prepending it to paths
pathstr = self.s.get("working_dir", ".")
return Path(pathstr).expanduser()