*** tools.py 2017-11-13 14:29:18.255113996 +0100 --- tools.py_fix 2017-11-13 14:30:17.505473997 +0100 *************** *** 68,75 **** if extra_salt: raw_pass = u"%s:%s" % (extra_salt, raw_pass) ! return six.text_type( ! bcrypt.hashpw(raw_pass.encode('utf-8'), bcrypt.gensalt())) def fake_login_attempt(): --- 68,74 ---- if extra_salt: raw_pass = u"%s:%s" % (extra_salt, raw_pass) ! return bcrypt.hashpw(raw_pass.encode('utf-8'), bcrypt.gensalt()) def fake_login_attempt():