diff --git a/buba/animations/dbf.py b/buba/animations/dbf.py index 59fe971..b516883 100644 --- a/buba/animations/dbf.py +++ b/buba/animations/dbf.py @@ -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