1. Michelle Mark
  2. session-cart

Commits

topaz1968  committed 65f143e Draft

in cart.py fixed syntax error on line 10, typo of settings on line 32 and replaced dot with comma in parameter list on line 62

  • Participants
  • Parent commits b60cba8
  • Branches default

Comments (0)

Files changed (1)

File session_cart/cart.py

View file
  • Ignore whitespace
 class CartItem(object):
     '''Lightweight container for cart items'''
     __slots__ = ('item', 'quantity',)
-    def __init__(self, item, quantity=0):
+    def __init__(self, item, quantity=1):
         self.item = item
         self.quantity = quantity