mirror of
https://github.com/openSUSE/osc.git
synced 2025-10-31 19:42: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):
|
||||
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] = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user