From bd32d8fc3220fac6f59299c01ec668790b81005a Mon Sep 17 00:00:00 2001 From: tecnessino <73133130+tecnessino@users.noreply.github.com> Date: Thu, 8 Aug 2024 19:40:30 +0200 Subject: [PATCH] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 00696b4..0758fb6 100644 --- a/main.py +++ b/main.py @@ -391,7 +391,7 @@ def main(): sort_by_worth = config.get('sort_by_worth', False) - with open("tokens.txt", "r") as file: + with open("tokens.txt", "r", encoding="utf-8") as file: tokens = file.readlines() tokens = [token.strip() for token in tokens]