mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 19:06:35 +03:00
Store relative accounts path in accounts.toml
This makes it possible to move accounts dir, especially useful for bots.
This commit is contained in:
@@ -14,9 +14,7 @@ class Rpc:
|
||||
if accounts_dir:
|
||||
kwargs["env"] = {
|
||||
**kwargs.get("env", os.environ),
|
||||
"DC_ACCOUNTS_PATH": os.path.abspath(
|
||||
os.path.expanduser(str(accounts_dir))
|
||||
),
|
||||
"DC_ACCOUNTS_PATH": str(accounts_dir),
|
||||
}
|
||||
|
||||
self._kwargs = kwargs
|
||||
|
||||
Reference in New Issue
Block a user