diff options
Diffstat (limited to '')
-rw-r--r-- | archivist/virtual_prefixes.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archivist/virtual_prefixes.py b/archivist/virtual_prefixes.py index 632e3cf..6f44d2b 100644 --- a/archivist/virtual_prefixes.py +++ b/archivist/virtual_prefixes.py @@ -32,6 +32,9 @@ def query(prefix, value): return None def is_virtual(prefix): + if not prefix: + return False + register_prefixes() return prefix in prefixes |