5 ms·
Thanks, that also has a bug but people who try it should know how to fix it. Basically if it bombs because you don't have json then delete the line of code as
by zedshaw 16y ago
Thanks, that also has a bug but people who try it should know how to fix it. Basically if it bombs because you don't have json then delete the line of code as it does it correctly further down.
- meric 16y agoConnecting to mongrel2.org:80 Traceback (most recent call last): File "client.py", line 36, in <module> post_msg("connect") File "client.py", line 28, in post_msg msg = '@bbs %s\x00' % (json.dumps({'type': 'msg', 'msg': data})) AttributeError: 'module' object has no attribute 'dumps' I think it's to do with my python 2.5.