fix: allow relative paths in inputs

This commit is contained in:
CrynTox
2025-08-03 22:32:02 +03:00
parent 1ea8b80bdc
commit 0174715dd2
2 changed files with 6 additions and 4 deletions

View File

@@ -797,7 +797,7 @@ def main():
continue
if len(s) == 2:
if name == "datadir":
data_dir = os.path.expanduser(s[1])
data_dir = os.path.abspath(os.path.expanduser(s[1]))
continue
if name == "logprefix":
log_prefix = s[1]