1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-10-31 11:32:16 +01:00

Fix call os.userexpand() on gitea_api.Config() path argument

This commit is contained in:
2025-03-19 13:55:52 +01:00
parent e189f1bd73
commit 602315ea18

View File

@@ -72,8 +72,8 @@ class Config:
def __init__(self, path: Optional[str] = None):
if not path:
path = os.path.expanduser("~/.config/tea/config.yml")
self.path = os.path.abspath(path)
path = "~/.config/tea/config.yml"
self.path = os.path.abspath(os.path.expanduser(path))
self.logins: List[Login] = []