Remove pprint (does not seem to help)

This commit is contained in:
PCoder 2019-11-04 12:19:25 +05:30
parent 7aec4dd938
commit 4174c6226f
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
import json
import logging
import sys
from pprint import pprint
from django.core.management.base import BaseCommand
from membership.models import CustomUser
@ -130,6 +129,6 @@ class Command(BaseCommand):
"Payment cards": cards,
"SSH Keys": keys
}
pprint(json.dumps(output_dict))
print(json.dumps(output_dict, indent=4))
except Exception as e:
print(" *** Error occurred. Details {}".format(str(e)))