remove yesterday odds from generate
This commit is contained in:
@@ -107,12 +107,10 @@ impl MarkdownGenerator<'_> {
|
|||||||
let mut doc = Document::new();
|
let mut doc = Document::new();
|
||||||
doc.add(H1::new("Playoffs race!"));
|
doc.add(H1::new("Playoffs race!"));
|
||||||
|
|
||||||
let yesterday_odds = simulation::odds_for_team(self.api, self.an.my_team, true);
|
|
||||||
let today_odds = simulation::odds_for_team(self.api, self.an.my_team, false);
|
let today_odds = simulation::odds_for_team(self.api, self.an.my_team, false);
|
||||||
|
|
||||||
doc.add(Paragraph::new(format!(
|
doc.add(Paragraph::new(format!(
|
||||||
"Playoffs odds yesterday: {:.1}%, playoffs odds today: {:.1}%",
|
"Playoffs odds today: {:.1}%",
|
||||||
yesterday_odds * 100.0,
|
|
||||||
today_odds * 100.0
|
today_odds * 100.0
|
||||||
)));
|
)));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user