Since this is only used once, it's redundant to make it a variable.

This commit is contained in:
Firepup Sixfifty 2023-10-25 20:57:56 -05:00
parent 1dbd95bb1e
commit eb43698ff3

View file

@ -4,11 +4,9 @@ from time import sleep
from sys import argv as args from sys import argv as args
from threading import Thread from threading import Thread
call = "python3 -u ircbot.py"
def launch(server: str) -> None: def launch(server: str) -> None:
system(f"{call} {server}") system(f"python3 -u ircbot.py {server}")
threads = {} threads = {}