Use format() instead of concatenation

This commit is contained in:
flan 2018-08-28 17:35:08 +02:00
parent 2538db5c07
commit 242c423c13

View File

@ -11,7 +11,7 @@ AUTHDBPATH = config['auth_db_path']
COLLECTIONPATH = config['data_root']
def usage():
print("usage: "+sys.argv[0]+" <command> [<args>]")
print("usage: {} <command> [<args>]".format(sys.argv[0]))
print()
print("Commands:")
print(" adduser <username> - add a new user")