diff --git a/daemon_control.py b/daemon_control.py index d23c060..1fea3d3 100755 --- a/daemon_control.py +++ b/daemon_control.py @@ -17,7 +17,7 @@ def writefifo(order): print("Welcome to daemon control, enter 'help' to get a list of commands.") while True: - line = raw_input("> ") + line = input("> ") escaped = False string = False parts = [""] @@ -45,11 +45,11 @@ def writefifo(order): elif command == "suggested": data = getdata() for c in data["storage"]["suggested_rcon"]: - print c + print(c) elif command == "allowed": data = getdata() for c in data["storage"]["allowed_rcon"]: - print c + print(c) elif command == "allow": if len(args) < 1: print("Missing arguments")