Forgot comment in update_mc

This commit is contained in:
Ethanell 2019-10-27 13:44:18 +01:00
parent 5a859d3295
commit 901073f055

View file

@ -49,6 +49,9 @@ mcq = None # Setup Query
def update_mc(): def update_mc():
"""
Update Rcon and Query with configuration
"""
global mcr, mcq global mcr, mcq
mcr = MCRcon(conf["Server ip"], conf["Rcon passwd"], conf["Rcon port"]) mcr = MCRcon(conf["Server ip"], conf["Rcon passwd"], conf["Rcon port"])
mcq = MinecraftServer(conf["Server ip"], conf["Query port"]) mcq = MinecraftServer(conf["Server ip"], conf["Query port"])