diff options
author | Frederick Muriuki Muriithi | 2023-06-08 19:05:47 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-06-08 19:05:47 +0300 |
commit | 7a0eaffa4da8f942d4e6b71f64c46e895abe1bc8 (patch) | |
tree | 6d301c9dbe4be89b79fc837f5c0a653a98a6655e | |
parent | fde05140fc1a059af265b3c298cc0b503c6768d6 (diff) | |
download | genenetwork3-7a0eaffa4da8f942d4e6b71f64c46e895abe1bc8.tar.gz |
bug: Function expects pathlib.Path not str
-rw-r--r-- | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 ##### |