From e01a1ea37bf0b9ac516ecab79847d724e78b0dae Mon Sep 17 00:00:00 2001 From: jsjiang Date: Tue, 17 Oct 2023 13:41:53 -0700 Subject: [PATCH] remove repeated upper() on shoulder --- ezidapp/management/commands/shoulder-update-organization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ezidapp/management/commands/shoulder-update-organization.py b/ezidapp/management/commands/shoulder-update-organization.py index a46c0fbb6..79486576b 100644 --- a/ezidapp/management/commands/shoulder-update-organization.py +++ b/ezidapp/management/commands/shoulder-update-organization.py @@ -61,7 +61,7 @@ def handle(self, *_, **opt): 'Scheme must be "ark" or "doi": {}'.format(scheme_str) ) - namespace_str = '{}:{}'.format(scheme_str, full_shoulder.upper()) + namespace_str = '{}:{}'.format(scheme_str, full_shoulder) try: shoulder_model = ezidapp.models.shoulder.Shoulder.objects.get(prefix=namespace_str)