Skip to content

Commit

Permalink
Add parens on string_rule_variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Bixby committed Mar 16, 2016
1 parent 313dcf3 commit c9444b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ProductVariables(BaseVariables):
last_order = self.product.orders[-1]
return (last_order.expiration_date - datetime.date.today()).days

@string_rule_variable
@string_rule_variable()
def current_month(self):
return datetime.datetime.now().strftime("%B")

Expand Down

0 comments on commit c9444b4

Please sign in to comment.