aboutsummaryrefslogtreecommitdiff
path: root/labbot/bot.py
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-09-07 09:52:37 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-09-07 09:52:37 +0200
commit256aeeee6077da0a28bcc2fb19ab7923e472d26a (patch)
treedec941fb85041945e186d007b5150459b7f13223 /labbot/bot.py
parentec850ccb99d3ebfb8a69483de868097ed8288f7f (diff)
downloadlab-bot-256aeeee6077da0a28bcc2fb19ab7923e472d26a.tar.gz
lab-bot-256aeeee6077da0a28bcc2fb19ab7923e472d26a.zip
add per repository settings
Diffstat (limited to 'labbot/bot.py')
-rw-r--r--labbot/bot.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/labbot/bot.py b/labbot/bot.py
index 6781196..ef13978 100644
--- a/labbot/bot.py
+++ b/labbot/bot.py
@@ -79,6 +79,7 @@ class Bot:
self.register(func, "Deployment Hook", *args, **kwargs)
- def run(self, *args, **kwargs) -> None:
- log.info(f"Started {self.name}")
- self.instance.run(*args, print=False, **kwargs) \ No newline at end of file
+ def run(self, **kwargs) -> None:
+ kwargs["print"] = False
+ log.info(f"Started {self.name} under :{kwargs['port']}")
+ self.instance.run(**kwargs)