various rendering changes
This commit is contained in:
1 parent
d22af9734e
commit
092759e4b1
5 files changed
+14
-5
No files matched your search
+1
-1
@@ -12,7 +12,7 @@ class Post:
|
||||
def __init__(self, file_path):
|
||||
self.file = file_path
|
||||
|
||||
with open(file_path, 'r') as file:
|
||||
with open(file_path, 'r', encoding='utf-8') as file:
|
||||
lines = file.readlines()
|
||||
|
||||
self.category = lines[1].split(":")[1].strip()
|
||||
|
||||
Reference in new issue
Block a user