Changeset f8a5e4b for client


Ignore:
Timestamp:
Apr 17, 2010, 4:41:42 PM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, client
Children:
a875cb6
Parents:
36d2293
git-author:
Alex Dehnert <adehnert@…> (04/17/10 16:41:42)
git-committer:
Alex Dehnert <adehnert@…> (04/17/10 16:41:42)
Message:

Error out if downloader gets HTML

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/downloader.py

    r004d06d rf8a5e4b  
    3737def getLaTeX(br, latex_file, ):
    3838    br.open(baseurl + 'vouchers/generate/')
     39    if br.viewing_html():
     40        print br.response().get_data()
     41        assert not br.viewing_html()
    3942    latex_file.write(br.response().get_data())
    4043
Note: See TracChangeset for help on using the changeset viewer.