From 345c276a62c7a43de458b82b3fe033ed7b654644 Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 25 Nov 2021 11:23:42 +0530 Subject: [PATCH] Comment out erroneous code --- app/management/commands/import.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/management/commands/import.py b/app/management/commands/import.py index d00947b..bfdcc7c 100644 --- a/app/management/commands/import.py +++ b/app/management/commands/import.py @@ -448,6 +448,6 @@ def handle_object_dict(object_dict, model_name): object_dict[i] = True if object_dict[i].lower().strip() == 'true' else False if object_dict is None: print("Object None for %s" % model_name) - else: - print(object_dict) if str(object_dict) is not None else "Str object dict is None" + # else: + # print(object_dict) if str(object_dict) is not None else "Str object dict is None" return object_dict