diff --git a/mumbleBot.py b/mumbleBot.py index 82e9891..599910b 100644 --- a/mumbleBot.py +++ b/mumbleBot.py @@ -74,7 +74,6 @@ class MumbleBot: self.volume = self.volume_set - self.channel = args.channel root = logging.getLogger() formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') @@ -135,6 +134,11 @@ class MumbleBot: else: password = var.config.get("server", "password") + if args.channel: + self.channel = args.channel + else: + self.channel = var.config.get("server", "channel") + if args.certificate: certificate = args.certificate else: