Skip to content

Commit f6ab223

Browse files
committed
Fix missing hasData
1 parent 2caaad6 commit f6ab223

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mtapi/mtapi.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ def serialize(self):
4848
'N': self.trains['N'],
4949
'S': self.trains['S'],
5050
'routes': self.routes,
51-
'last_update': self.last_update
51+
'last_update': self.last_update,
52+
'hasData': self.has_data
5253
}
5354
out.update(self.json)
5455
return out

0 commit comments

Comments
 (0)