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 e614cda commit ba703c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from os import getcwd
import subprocess
from asyncio import Lock, new_event_loop, set_event_loop
from logging import (
Expand Down Expand Up @@ -97,8 +98,7 @@
)

with open("a2c.conf", "a+") as a:
if TORRENT_TIMEOUT is not None:
a.write(f"bt-stop-timeout={TORRENT_TIMEOUT}\n")
a.write(f"bt-stop-timeout=600\n")
a.write(f"bt-tracker=[{trackers}]")
subprocess.run(["xria", "--conf-path=/usr/src/app/a2c.conf"], check=False)

Expand Down

0 comments on commit ba703c5

Please sign in to comment.