Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Apr 22, 2024
1 parent f40c732 commit 79f8466
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ def bool_str(text):
else:
config["a2s"] = None

if env_defined("RCON_ADDRESS") and env_defined("RCON_PORT") and env_defined("RCON_PASSWORD"):
if (
env_defined("RCON_ADDRESS")
and env_defined("RCON_PORT")
and env_defined("RCON_PASSWORD")
):
config["rcon"] = {
"address": os.environ["RCON_ADDRESS"],
"port": int(os.environ["RCON_PORT"]),
Expand Down

0 comments on commit 79f8466

Please sign in to comment.