aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.py b/main.py
index a8c6cec..d74f3aa 100644
--- a/main.py
+++ b/main.py
@@ -3,6 +3,7 @@ import sys
import uuid
import json
from math import ceil
+from pathlib import Path
from datetime import datetime
@@ -119,7 +120,7 @@ def make_data_public():
@app.cli.command()
def register_admin():
"""Register the administrator."""
- rsysadm.register_admin(app.config["AUTH_DB"])
+ rsysadm.register_admin(Path(app.config["AUTH_DB"]))
##### END: CLI Commands #####