Skip to content

Commit

Permalink
Update to v3.0.3
Browse files Browse the repository at this point in the history
+ Update to v3.0.3
+ Fixed xml declaration (updated to python 3.7.9 elementTree API)
  • Loading branch information
malakhovks committed Oct 16, 2020
1 parent fa55582 commit 8aba556
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 24 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v3.0.3, 2020-10-16

### 🔴 Виправлення помилок

- Дрібні виправлення.

## v3.0.2, 2020-10-16

### 👍 Покращення
Expand Down
38 changes: 19 additions & 19 deletions templates/changelog.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion templates/en.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<title>Konspekt - v3.0.2</title>
<title>Konspekt - v3.0.3</title>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/png" href="./static/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="./static/bootstrap/css/flatly.bootstrap.css" media="screen" />
Expand Down
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<title>Konspekt - v3.0.2</title>
<title>Konspekt - v3.0.3</title>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/png" href="./static/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="./static/bootstrap/css/flatly.bootstrap.css" media="screen" />
Expand All @@ -15,7 +15,7 @@
<canvas id="canvas-interactive"></canvas>
<div class="cta-wrapper">
<h1 style="color: black;">КОНСПЕКТ</h1>
<h5>v3.0.2</h5>
<h5>v3.0.3</h5>
<h2 style="color: black; width: 800px;">Контекстно-семантичний аналіз природно-мовних текстів та побудова таксономії документів</h2>
<a href="/ua" id="violet-state-cta" class="hvr-grow-shadow">Українська</a>
<a href="/en" id="orange-state-cta" class="hvr-grow-shadow">English</a>
Expand Down
2 changes: 1 addition & 1 deletion templates/ua.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<title>Конспект - v3.0.2</title>
<title>Конспект - v3.0.3</title>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/png" href="./static/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="./static/bootstrap/css/flatly.bootstrap.css" media="screen" />
Expand Down
2 changes: 1 addition & 1 deletion terms_comparator.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def __make_xml_nodedata__(self, allterms_xml, key_words, input_terms_path, outpu
# TODO Encoding variations
try:
# return ET.tostring(e, encoding='unicode', method="xml", xml_declaration=True)
return ET.tostring(e, encoding='utf-8', method="xml", xml_declaration=True)
return ET.tostring(e, encoding='utf-8', method="xml")
except Exception as e:
return logging.error(e, exc_info=True)
# outFile = open(output_structure_path, 'w+', encoding='utf-8')
Expand Down

0 comments on commit 8aba556

Please sign in to comment.