Skip to content

Instantly share code, notes, and snippets.

@DanielCollins
Created November 11, 2014 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanielCollins/f2223ab5e544bc57afa0 to your computer and use it in GitHub Desktop.
Save DanielCollins/f2223ab5e544bc57afa0 to your computer and use it in GitHub Desktop.
File "/home/dbc/projects/grace/backend/views/invoices.py", line 31, in post
on_success=render_pdf, initial=cost)
File "/home/dbc/projects/grace/backend/views/util.py", line 183, in create_one
entity.fill_from_formdata(initial(flask.request))
File "/home/dbc/projects/grace/backend/views/invoices.py", line 66, in cost
id = int(request.values['job-' + str(index) + '-id'])
ValueError: invalid literal for int() with base 10: 'shipping'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment