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

Commit

Permalink
Fix tiny format derp; #141
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Mar 28, 2013
1 parent 97c1917 commit 2223da0
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 @@ -127,8 +127,8 @@ def __get__(self, participant, other):
def __set__(self, participant, value):
last_goal = self.most_recent_goal(participant)
existing_create_time = last_goal.ctime if last_goal else None
existing_or_current_ctime = func.coalesce( existing_create_time
, func.current_timestamp()
existing_or_current_ctime = func.coalesce( existing_create_time
, func.current_timestamp()
)
created = db.session.query(existing_or_current_ctime).as_scalar()
goal = Goal( ctime=created
Expand Down

0 comments on commit 2223da0

Please sign in to comment.