From 84c4753cd99df59cd4cb678a175b158dc3905f9f Mon Sep 17 00:00:00 2001 From: Ulthran Date: Wed, 27 Nov 2024 11:14:47 -0500 Subject: [PATCH] Expand user in default db_dir path --- unassigner/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unassigner/command.py b/unassigner/command.py index 16809c5..9a86d87 100644 --- a/unassigner/command.py +++ b/unassigner/command.py @@ -39,7 +39,7 @@ def main(argv=None): ) p.add_argument( "--db_dir", - default="~/.unassigner/", + default=os.path.expanduser("~/.unassigner/"), help=( "Directory containing the reference database. If not provided, " "the default database is used."