mirror of
https://github.com/dtomlinson91/panaetius.git
synced 2025-12-22 04:55:44 +00:00
add expand_user to Config
This commit is contained in:
@@ -36,7 +36,7 @@ class Config:
|
||||
"""
|
||||
self.header_variable = header_variable
|
||||
self.config_path = (
|
||||
pathlib.Path(config_path)
|
||||
pathlib.Path(config_path).expanduser()
|
||||
if config_path
|
||||
else pathlib.Path.home() / ".config"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user