Merge pull request #68 from nmakeev/bugfix/fix_charmap_codec_error

Fixed charmap codec error
This commit is contained in:
Ground-Zerro
2024-12-24 22:12:52 +11:00
committed by GitHub

View File

@@ -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():