|
|
@ -56,12 +56,12 @@ print(t.draw())
|
|
|
|
print("ID: {}; Username: \"{}\"; Mail: {}; Name: \"{}\"; Registered: {}; Status: {}".format(
|
|
|
|
print("ID: {}; Username: \"{}\"; Mail: {}; Name: \"{}\"; Registered: {}; Status: {}".format(
|
|
|
|
user["id"], user["username"], user["email"], user["name"], user["timestamp"], user["status"]
|
|
|
|
user["id"], user["username"], user["email"], user["name"], user["timestamp"], user["status"]
|
|
|
|
))"""
|
|
|
|
))"""
|
|
|
|
ret += "ID %-1s| Username %-5s| Mail %-20s| Name %-17s| Registered %-8s| State |\n" % (
|
|
|
|
ret += "ID %-1s| Username %-5s| Mail %-20s| Name %-17s| Registered %-8s | State |\n" % (
|
|
|
|
" ", " ", " ", " ", " "
|
|
|
|
" ", " ", " ", " ", " "
|
|
|
|
)
|
|
|
|
)
|
|
|
|
ret += 101*"-" + "\n"
|
|
|
|
ret += 102 * "-" + "\n"
|
|
|
|
for user in fetch:
|
|
|
|
for user in fetch:
|
|
|
|
ret += "%-4i| %-14s| %-25s| %-22s| %-8s| %-6i|\n" % (
|
|
|
|
ret += "%-4i| %-14s| %-25s| %-22s| %-8s | %-5i |\n" % (
|
|
|
|
user["id"], user["username"], user["email"], user["name"], user["timestamp"], user["status"]
|
|
|
|
user["id"], user["username"], user["email"], user["name"], user["timestamp"], user["status"]
|
|
|
|
)
|
|
|
|
)
|
|
|
|
if CFG.args.file != "stdout":
|
|
|
|
if CFG.args.file != "stdout":
|
|
|
|