~voicecheck/voicecheck/dev

« back to all changes in this revision

Viewing changes to voicecheck

  • Committer: Anthony Hook
  • Date: 2009-12-04 14:55:55 UTC
  • Revision ID: anthony@hookbox-20091204145555-et6ry75xy0y0sz0x
attempt at fixing bug 477704

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        return []
86
86
 
87
87
    try:
88
 
        source  = xml.dom.minidom.parseString( result.getvalue() )
 
88
        source  = xml.dom.minidom.parseString( result.getvalue().replace('&','&') )
89
89
        json_source = source.getElementsByTagName( 'json' )[0].firstChild.data
90
90
        html_source = source.getElementsByTagName( 'html' )[0].firstChild.data
91
91
    except:
92
 
        sys.exit( 'having difficulty, check your email/password.' )
 
92
        sys.exit( 'still breaking around line 88' )
93
93
 
94
94
    soup    = BeautifulSoup( html_source )
95
95
    data    = json.loads( json_source )