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."""
args = get_args()
log_level = DEBUG if args.debug else INFO
basicConfig(level=log_level, format=LOG_FORMAT)
basicConfig(format=LOG_FORMAT, level=DEBUG if args.debug else INFO)
host, port, passwd = get_credentials(args)
with ErrorHandler(ERRORS, LOGGER):

Loading…
Cancel
Save