Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
fix use of obsolete column name in branch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Dec 9, 2014
1 parent 2ab4145 commit 835de34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class EmailAddressWithConfirmation(Model):

def add_email(self, email):
nonce = str(uuid.uuid4())
ctime = utcnow()
verification_start = utcnow()

scheme = gratipay.canonical_scheme
host = gratipay.canonical_host
Expand All @@ -44,9 +44,9 @@ def add_email(self, email):

db.run("""
INSERT INTO emails
(address, nonce, ctime, participant)
(address, nonce, verification_start, participant)
VALUES (%s, %s, %s, %s)
""", (email, nonce, ctime, self.username))
""", (email, nonce, verification_start, self.username))


participants = db.all("""
Expand Down

1 comment on commit 835de34

@chadwhitacre
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.

Please sign in to comment.