This commit is contained in:
Thomas Baruchel 2021-06-23 08:25:17 +02:00
parent 6cb7ff6550
commit d62c379b27
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ class Bot:
def __init__(self, cmd, initcmd = [], user=None):
if user: os.environ["USER"] = user
del os.environ["IRCSERVER"]
self.proc = subprocess.Popen(cmd,
stdin = subprocess.PIPE,