From 86fea7e088b83fe391b7cad44f8ec443d2c5520d Mon Sep 17 00:00:00 2001 From: Benjamin Kraft Date: Wed, 11 Oct 2023 17:00:05 +0000 Subject: [PATCH] edit startup and add vods to repr --- main.py | 2 +- start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 224a4b7..0e873e9 100755 --- a/main.py +++ b/main.py @@ -84,7 +84,7 @@ class Match: return False def __repr__(self): - return f"{self.team1:3} - {self.time} - {self.team2}" + return f"{self.team1:3} - {self.time} - {self.team2} | VODs: {len(self.vods)}" def fetch_matches(): diff --git a/start.sh b/start.sh index c599bc7..5e73ce6 100755 --- a/start.sh +++ b/start.sh @@ -1,2 +1,2 @@ #!/usr/bin/bash -$($(which poetry) env info --path)/bin/poetry run python main.py +poetry run python main.py