mirror of
https://github.com/openSUSE/osc.git
synced 2025-11-01 03:52:16 +01:00
Fix call os.userexpand() on gitea_api.Config() path argument
This commit is contained in:
@@ -72,8 +72,8 @@ class Config:
|
|||||||
|
|
||||||
def __init__(self, path: Optional[str] = None):
|
def __init__(self, path: Optional[str] = None):
|
||||||
if not path:
|
if not path:
|
||||||
path = os.path.expanduser("~/.config/tea/config.yml")
|
path = "~/.config/tea/config.yml"
|
||||||
self.path = os.path.abspath(path)
|
self.path = os.path.abspath(os.path.expanduser(path))
|
||||||
|
|
||||||
self.logins: List[Login] = []
|
self.logins: List[Login] = []
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user