don't use keywords in variable names

This commit is contained in:
randomuser 2021-07-21 17:05:04 -05:00
parent 0946e86690
commit d9d8fc5cde
1 changed files with 2 additions and 2 deletions

View File

@ -127,10 +127,10 @@ def parse_args():
parser.add_argument('-p', '--port', default=6667, type=int)
parser.add_argument('-t', '--tls', action="store_true")
parser.add_argument('-n', '--nick', default="test")
parser.add_argument('-p', '--pass', default=password)
parser.add_argument('-p', '--password', default=password)
return parser.parse_args()
if __name__ == "__main__":
args = parse_args()
password = args.pass
password = args.password
asyncio.run(main(args.host, args.port, args.tls, args.nick))