Skip to content

Commit

Permalink
030_17 - add strip
Browse files Browse the repository at this point in the history
  • Loading branch information
urchinpro committed Oct 24, 2023
1 parent 9255778 commit 8dd5d70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/parse_file/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def auto_load_result(request, research, doc_profile):
file_data = request.FILES["file"]
financing_source_title = request.POST.get("financingSourceTitle")
title_fields = request.POST.get("titleFields")
title_data = title_fields.split(",")
title_data = [i.strip() for i in title_fields.split(",")]
wb = load_workbook(filename=file_data)
ws = wb[wb.sheetnames[0]]
starts = False
Expand Down
2 changes: 1 addition & 1 deletion l2-frontend/src/ui-cards/LoadFile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<input
v-model="titleFields"
class="form-control"
placeholder="'fio', 'snils', 'enp', 'Диагноз', 'Дата осмотра'"
placeholder="fio, lastname, firstname, patronymic, sex, birthday, address, snils, enp, Диагноз, Дата осмотра..."
>
</div>
</div>
Expand Down

0 comments on commit 8dd5d70

Please sign in to comment.