diff --git a/python/gilded_rose.py b/python/gilded_rose.py index 4f21ea64..c1666982 100755 --- a/python/gilded_rose.py +++ b/python/gilded_rose.py @@ -7,6 +7,10 @@ class GildedRose(object): def update_quality(self): for item in self.items: + if item.name == "Raj" and item.name != "Backstage passes to a TAFKAL80ETC concert": #added a condition for Raj + if item.quality > 0: + if item.name == "Raj": + item.quality = item.quality - 1 if item.name != "Aged Brie" and item.name != "Backstage passes to a TAFKAL80ETC concert": if item.quality > 0: if item.name != "Sulfuras, Hand of Ragnaros":