Commits

topaz1968  committed 65f143e

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

Comments (0)

Files changed (1)

File session_cart/cart.py

 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