|
@ -71,8 +71,7 @@ def main() -> None: |
|
|
"""Runs the RCON client.""" |
|
|
"""Runs the RCON client.""" |
|
|
|
|
|
|
|
|
args = get_args() |
|
|
args = get_args() |
|
|
log_level = DEBUG if args.debug else INFO |
|
|
basicConfig(format=LOG_FORMAT, level=DEBUG if args.debug else INFO) |
|
|
basicConfig(level=log_level, format=LOG_FORMAT) |
|
|
|
|
|
host, port, passwd = get_credentials(args) |
|
|
host, port, passwd = get_credentials(args) |
|
|
|
|
|
|
|
|
with ErrorHandler(ERRORS, LOGGER): |
|
|
with ErrorHandler(ERRORS, LOGGER): |
|
|