From b1834520bd8043e06350a140e203ad60f0ad7522 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 3 Aug 2021 14:38:28 +0200 Subject: [PATCH] typos --- pandora/config.0xdb.jsonc | 2 +- pandora/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/config.0xdb.jsonc b/pandora/config.0xdb.jsonc index 5efef5ea..2d1ab910 100644 --- a/pandora/config.0xdb.jsonc +++ b/pandora/config.0xdb.jsonc @@ -1009,7 +1009,7 @@ { "id": "tags", "title": "Tags", - "canAddAnnotations": {"member": true, "firend": true, "staff": true, "admin": true}, + "canAddAnnotations": {"member": true, "friend": true, "staff": true, "admin": true}, "item": "Tag", "autocomplete": true, "overlap": true, diff --git a/pandora/urls.py b/pandora/urls.py index 5c7aad4d..d8eba049 100644 --- a/pandora/urls.py +++ b/pandora/urls.py @@ -92,7 +92,7 @@ urlpatterns += [ if settings.LOCAL_URLPATTERNS: patterns = [] for pattern, fn in settings.LOCAL_URLPATTERNS: - if isinstnace(fn, 'str'): + if isinstance(fn, str): m, f = fn.rsplit('.', 1) try: m = importlib.import_module(m)