Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit a787c45

Browse files
authored
Fixed Unicode decode error
2 parents b4ccb71 + 739c825 commit a787c45

3 files changed

Lines changed: 15 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## `0.0.6` – 29-10-2022
9+
10+
### Fixed
11+
12+
- Fixed [`Unicode decode error`](https://github.com/daita-technologies/daita-python-library/issues/3).
13+

daita/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.5"
1+
__version__ = "0.0.6"

daita/dashboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def clear():
6464
def printLogo(plank, num):
6565
pwd = os.path.dirname(os.path.abspath(__file__))
6666
logofile = os.path.join(pwd, "daita_logo_console.txt")
67-
with open(logofile, "r") as f:
67+
with open(logofile, "r", encoding="utf8") as f:
6868
data = f
6969
for it in data:
7070
stringTemp = it.replace("\n", "")

0 commit comments

Comments
 (0)