Skip to content

Commit 481126a

Browse files
committed
v2.4.0a
1 parent c2ae9c6 commit 481126a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Mods/Mods/OrangeBot/DiscordProxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def askForTask(func, *args, **kwargs):
4141
# Awaiting loop
4242
while True:
4343
try:
44-
with open(path, "r") as f:
44+
with open(path, "r", encoding="utf-8") as f:
4545
if f.read().endswith("🙂"): break
4646
except FileNotFoundError: pass
4747
time.sleep(0.05)

Mods/Mods/OrangeBot/ModScript.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# Load Bootstrap API
88
import OrangeAPI as orange; OrangeAPI = orange.OrangeAPI()
99
import traceback
10-
import tempfile
1110
import subprocess
1211
import threading
1312
import discord

0 commit comments

Comments
 (0)