mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-11 08:42:32 +03:00
Fix if to elif
This commit is contained in:
parent
c84ceebb68
commit
4b8db68d5a
|
@ -62,7 +62,7 @@ class Command(CommandArguments):
|
|||
schema_dict = {"data": schema.introspect()}
|
||||
if out == "-" or out == "-.json":
|
||||
self.stdout.write(json.dumps(schema_dict, indent=indent, sort_keys=True))
|
||||
if out == "-.graphql":
|
||||
elif out == "-.graphql":
|
||||
print(print_schema(schema))
|
||||
else:
|
||||
# Determine format
|
||||
|
|
Loading…
Reference in New Issue
Block a user