Show nicer info
This commit is contained in:
parent
93be4098cb
commit
437072a848
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ class DBFAnimation(BubaAnimation):
|
|||
self.count = count
|
||||
Thread(target=self.update, daemon=True).start()
|
||||
|
||||
def __repr__(self):
|
||||
return f"<{type(self).__name__}, {self.ds100}>"
|
||||
|
||||
def fetch(self):
|
||||
dbi = DBInfoscreen("trains.xatlabs.com")
|
||||
trains = dbi.calc_real_times(dbi.get_trains(self.ds100)) # Station
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue