Merge pull request #5647 from bahuma20/patch-1
saml: commands: create-saml-settings: Fix check on wrong variable
This commit is contained in:
commit
7277a1bb01
@ -25,7 +25,7 @@ class Command(BaseCommand):
|
||||
|
||||
if settings_dir is not None:
|
||||
settings_path = os.path.join(settings_dir, "saml_settings.json")
|
||||
if not os.path.isdir(settings_path):
|
||||
if not os.path.isdir(settings_dir):
|
||||
print(f"The directory '{settings_dir}' does not exist. Aborting...")
|
||||
return
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user