...: minor
This commit is contained in:
@@ -68,7 +68,7 @@ def process_text(request):
|
|||||||
'symbols': request.POST.get(key='symbols') == 'on',
|
'symbols': request.POST.get(key='symbols') == 'on',
|
||||||
'hanging_punctuation': hanging_option,
|
'hanging_punctuation': hanging_option,
|
||||||
'mode': request.POST.get(key='mode', default='mixed'),
|
'mode': request.POST.get(key='mode', default='mixed'),
|
||||||
'sanitizer': sanitizer_option
|
'sanitizer': sanitizer_option,
|
||||||
}
|
}
|
||||||
|
|
||||||
# --- ДИАГНОСТИКА ---
|
# --- ДИАГНОСТИКА ---
|
||||||
@@ -80,8 +80,8 @@ def process_text(request):
|
|||||||
|
|
||||||
# Обрабатываем текст
|
# Обрабатываем текст
|
||||||
processed = typo.process(text)
|
processed = typo.process(text)
|
||||||
print("Processed text length:", len(processed))
|
# print("Processed text length:", len(processed))
|
||||||
print("Processed text:", processed)
|
# print("Processed text:", processed)
|
||||||
|
|
||||||
return render(
|
return render(
|
||||||
request,
|
request,
|
||||||
|
|||||||
Reference in New Issue
Block a user