Skip to content

Commit

Permalink
update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Dec 27, 2024
1 parent 2104b1f commit f0139df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
basicConfig,
getLogger,
)
from os import getcwd
import os
from socket import setdefaulttimeout
from time import time

Expand Down Expand Up @@ -73,7 +73,7 @@

aria2 = ariaAPI(ariaClient(host="http://localhost", port=6800, secret=""))

subprocess.run(["xnox", "-d", f"--profile={getcwd()}"], check=False)
subprocess.run(["xnox", "-d", f"--profile={os.getcwd()}"], check=False)


xnox_client = QbClient(
Expand Down Expand Up @@ -103,7 +103,7 @@
subprocess.run(["xria", "--conf-path=/usr/src/app/a2c.conf"], check=False)


if ospath.exists("shorteners.txt"):
if os.path.exists("shorteners.txt"):
with open("shorteners.txt", "r+") as f:
lines = f.readlines()
for line in lines:
Expand Down

0 comments on commit f0139df

Please sign in to comment.