1
0
mirror of https://github.com/pyro2927/SouthwestCheckin.git synced 2025-12-06 01:13:19 +00:00

Notifications lost on init

This commit is contained in:
Adrian Walters
2019-04-14 11:35:39 -04:00
committed by GitHub
parent d7cebbf56f
commit d838c0b9f9

View File

@@ -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