Skip to content

Commit

Permalink
fix incompatability with MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Atluzka authored Mar 13, 2024
1 parent b80bec2 commit f1c2224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ async def addaccounts(interaction: discord.Interaction, service: str, file: disc
if iscookie:
current_cookie = ""
dec_cont = content.decode('utf-8')
content = str(dec_cont).split("\r\n")
content = str(dec_cont).split("\n")
append_lines = False
for line in content:
if config['cookie-seperator'] in line:
Expand All @@ -328,7 +328,7 @@ async def addaccounts(interaction: discord.Interaction, service: str, file: disc
current_cookie += line + '\n'
else:
dec_cont = content.decode('utf-8')
content = str(dec_cont).split("\r\n")
content = str(dec_cont).split("\n")
for item in content:
if len(item) > 2:
filtered_stock.append(item)
Expand Down

0 comments on commit f1c2224

Please sign in to comment.