Skip to content

Commit

Permalink
Fixing typo and removing print
Browse files Browse the repository at this point in the history
  • Loading branch information
rkorytkowski committed Sep 9, 2024
1 parent 37fa9cc commit 492a432
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion core/concept_maps/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ def is_mapping_same(first, second):
if not isinstance(first, dict):
first = vars(first)
if not isinstance(second, dict):
print(second)
second = vars(second)
return first.get('from_source_url', None) == second.get('from_source_url', None) and \
first.get('to_source_url', None) == second.get('to_source_url', None) and \
Expand Down
2 changes: 1 addition & 1 deletion core/importers/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class BulkImportParallelInlineView(APIView):
def get_parsers(self):
if 'application/json' in [self.request.META.get('CONTENT_TYPE')]:
return [JSONParser()]
if self.request.method == ' POST':
if self.request.method == 'POST':
return [MultiPartParser(), FormParser()]
return super().get_parsers()

Expand Down

0 comments on commit 492a432

Please sign in to comment.