Skip to content

Commit

Permalink
Maybe fix week notification#2
Browse files Browse the repository at this point in the history
  • Loading branch information
wh0o7 committed Nov 8, 2023
1 parent ceff32d commit cd3385f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TeachersTimetable/Services/ParseService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ private async Task ParseWeek()
await this._botService.SendAdminMessageAsync(new SendMessageArgs(0,
"New interval is " + weekIntervalStr));
}
else IsNewInterval = true;

isIsNewInterval = !isIsNewInterval && IsNewInterval;
var tempThHeaders =
driver.FindElement(
Expand All @@ -294,7 +294,7 @@ await this._botService.SendAdminMessageAsync(new SendMessageArgs(0,
_thHeaders = new List<string>();
foreach (var thHeader in tempThHeaders) _thHeaders.Add(new string(thHeader.Text));
}

var table = driver.FindElements(By.XPath("/html/body/div[1]/div[2]/div/div[2]/div[1]/div/div"));
Utils.HideTeacherElements(driver, h3);
Utils.HideTeacherElements(driver, h2);
Expand Down

0 comments on commit cd3385f

Please sign in to comment.