# HG changeset patch # User Ben Croston # Date 1325433440 0 # Node ID d0b8c9edf4f5834d35b67a05536d391287fb0add # Parent 8c43578429471ffb76f8874071843ba98991f503 Fixed error in README diff -r 8c4357842947 -r d0b8c9edf4f5 README.txt --- 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):