Add support for path-like objects
This commit is contained in:
parent
92818c444e
commit
bd0030f576
@ -48,7 +48,7 @@ def db_modify(operation, db, *args):
|
|||||||
syslog.debug(f"Arguments: {args}")
|
syslog.debug(f"Arguments: {args}")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
process = _run_script(operation, db, *args)
|
process = _run_script(operation, str(db), *args)
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
raise RepoAddError(e)
|
raise RepoAddError(e)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user