realign layout

pull/4/head
Darksider3 5 years ago
parent 43c7636920
commit 04d95c2d08

@ -59,9 +59,9 @@ print(t.draw())
ret += "ID %-1s| Username %-5s| Mail %-20s| Name %-17s| Registered %-8s | State |\n" % (
" ", " ", " ", " ", " "
)
ret += 101*"-" + "\n"
ret += 102 * "-" + "\n"
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"]
)
if CFG.args.file != "stdout":

Loading…
Cancel
Save