I think this should be inside an `else` block, because if `cookies` is an empty list, it's going to jump to this `for` line, and raise an `AttributeError` because `list` objects do not have `.items()` method.