Mercurial > hg > AuthRPC
changeset 24:d0b8c9edf4f5 0.1.0a
Fixed error in README
author | Ben Croston <ben@croston.org> |
---|---|
date | Sun, 01 Jan 2012 15:57:20 +0000 |
parents | 8c4357842947 |
children | d86e7357a91b |
files | README.txt |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/README.txt Sun Jan 01 15:54:18 2012 +0000 +++ b/README.txt Sun Jan 01 15:57:20 2012 +0000 @@ -12,7 +12,7 @@ def myauth(username, password, useragent): return username == 'myuser' and \ - password == hashlib.md5('secret').hexdigest() and \ + password == hashlib.md5('secret'.encode()).hexdigest() and \ useragent == 'myprogram' class api(object):