Skip to content

Commit

Permalink
Fixed charmap codec error
Browse files Browse the repository at this point in the history
  • Loading branch information
nmakeev committed Dec 24, 2024
1 parent b671c67 commit 30f46bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ async def load_urls(url):
# Загрузка списка платформ из локального файла
async def load_urls_from_file():
try:
with open('platformdb', 'r') as file:
with open('platformdb', 'r', encoding='utf-8') as file:
urls = {}
for line in file:
if line.strip():
Expand Down

0 comments on commit 30f46bd

Please sign in to comment.