Add timeout to reddit plugin JSON fetch
authorJack Miller <jack@codezen.org>
Mon, 29 Jul 2013 04:32:36 +0000 (23:32 -0500)
committerJack Miller <jack@codezen.org>
Mon, 29 Jul 2013 04:32:36 +0000 (23:32 -0500)
commitb2c41dc71c3a939b92e61b436230e6cd5e3b515d
tree994a93a0140aa0c1333c894ab47de529056c3106
parent6ff8213ce17190ff2a78b5e46ddb28c9ef9bf96f
Add timeout to reddit plugin JSON fetch

Occasionally it appears that this would hang indefinitely deep in the
urllib code.

Signed-off-by: Jack Miller <jack@codezen.org>
plugins/reddit.py