Mercurial > hg > AuthRPC
diff README.txt @ 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 | 9459d63c1558 |
children | 346114023528 |
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):