Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions daemon_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [""]
Expand Down Expand Up @@ -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")
Expand Down