Use format() instead of concatenation
This commit is contained in:
parent
2538db5c07
commit
242c423c13
@ -11,7 +11,7 @@ AUTHDBPATH = config['auth_db_path']
|
|||||||
COLLECTIONPATH = config['data_root']
|
COLLECTIONPATH = config['data_root']
|
||||||
|
|
||||||
def usage():
|
def usage():
|
||||||
print("usage: "+sys.argv[0]+" <command> [<args>]")
|
print("usage: {} <command> [<args>]".format(sys.argv[0]))
|
||||||
print()
|
print()
|
||||||
print("Commands:")
|
print("Commands:")
|
||||||
print(" adduser <username> - add a new user")
|
print(" adduser <username> - add a new user")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user