witten
/
luminotes
Archived
1
0
Fork 0

Changing 12 month subscription validation to instead expect 1 year, to reflect similar changes in configuration.

This commit is contained in:
Dan Helfman 2008-06-18 13:08:57 -07:00
parent eaf45f5599
commit 41821e727e
1 changed files with 1 additions and 1 deletions

View File

@ -1317,7 +1317,7 @@ class Users( object ):
# verify period3
period3 = params.get( u"period3" )
if mc_amount3 == yearly_fee:
if period3 and period3 != u"12 M": # one-year subscription
if period3 and period3 != u"1 Y": # one-year subscription
raise Payment_error( u"invalid period3", params )
else:
if period3 and period3 != u"1 M": # one-month subscription