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

Commit

Permalink
Fix no-op typo; #141
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Mar 28, 2013
1 parent ee6691e commit 97c1917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gittip/models/participant.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ def __get__(self, participant, other):

def __set__(self, participant, value):
last_goal = self.most_recent_goal(participant)
exising_create_time = last_goal.ctime if last_goal else None
existing_or_current_ctime = func.coalesce( exising_create_time
existing_create_time = last_goal.ctime if last_goal else None
existing_or_current_ctime = func.coalesce( existing_create_time
, func.current_timestamp()
)
created = db.session.query(existing_or_current_ctime).as_scalar()
Expand Down

0 comments on commit 97c1917

Please sign in to comment.