Post number #33548, ID: 3584f9
|
if conn.post('/reply', params, CLIENT_HEADERS).status != 200: h = conn.cfg['host'] p = conn.cfg['port'] raise AwooException('Failed to post reply to %s:%d' % (h, p))
def new_thread(board, title, comment): if len(comment) > 500 or len(title) > 500: raise AwooException('Post too long (over 500 characters).')
params = { 'comment': comment, 'board': board, 'title': title }
Post number #33552, ID: 3584f9
|
if conn.post('/reply', params, CLIENT_HEADERS).status != 200: h = conn.cfg['host'] p = conn.cfg['port'] raise AwooException('Failed to post reply to %s:%d' % (h, p))
def new_thread(board, title, comment): if len(comment) > 500 or len(title) > 500: raise AwooException('Post too long (over 500 characters).')
params = { 'comment': comment, 'board': board, 'title': title }
| adsf