Browse Source

Refac.

pull/2/head
Richard Neumann 4 years ago
parent
commit
c02f753878
  1. 3
      rcon/rconclt.py

3
rcon/rconclt.py

@ -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):

Loading…
Cancel
Save