On Sunday, May 6, 2018, tango ward <tangoward15(at)gmail(dot)com> wrote:
> cur_p.execute("""
>
> INSERT INTO a_recipient (created, mod, agreed, address, honor,)
> VALUES (%s, %s)""", (current_timestamp, current_timestamp, current_timestamp, '', ''))
>
>
That code doesn't even run (extra comma after honor, not enough columns in
values). Provide working code and the definition of a_recipient.
In short, you've passed an empty string to an integer column, which doesn't
work. Supply null or pass a number.
David J.