hotfix
This commit is contained in:
parent
13ed222382
commit
9b15a1a758
2
main.py
2
main.py
|
|
@ -133,7 +133,7 @@ class Main:
|
||||||
# 현재 주차 이름 탐색 중
|
# 현재 주차 이름 탐색 중
|
||||||
try:
|
try:
|
||||||
week_name = self.driver.find_element(By.CSS_SELECTOR, "div.lect_Man > div > span.ft_b").text
|
week_name = self.driver.find_element(By.CSS_SELECTOR, "div.lect_Man > div > span.ft_b").text
|
||||||
result += '[{}]\n'.format(week_name)
|
result += '[{}]\n\n'.format(week_name)
|
||||||
except NoSuchElementException:
|
except NoSuchElementException:
|
||||||
print("올바르지 않은 페이지입니다.")
|
print("올바르지 않은 페이지입니다.")
|
||||||
self.label.config(text="올바르지 않은 페이지입니다.")
|
self.label.config(text="올바르지 않은 페이지입니다.")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue