From d838c0b9f90d89dec6be7275516d23250de34009 Mon Sep 17 00:00:00 2001 From: Adrian Walters Date: Sun, 14 Apr 2019 11:35:39 -0400 Subject: [PATCH] Notifications lost on init --- southwest/southwest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/southwest/southwest.py b/southwest/southwest.py index 299c3aa..4bea2ca 100644 --- a/southwest/southwest.py +++ b/southwest/southwest.py @@ -14,11 +14,11 @@ headers = {'Host': 'mobile.southwest.com', 'Content-Type': 'application/json', ' class Reservation(): - def __init__(self, number, first, last, notifications=[]): + def __init__(self, number, first, last, notifications): self.number = number self.first = first self.last = last - self.notifications = [] + self.notifications = notifications # You might ask yourself, "Why the hell does this exist?" # Basically, there sometimes appears a "hiccup" in Southwest where things