學校官網視窗
This commit is contained in:
parent
522cd1b7ad
commit
b0475a0415
6
Ncnu.py
6
Ncnu.py
@ -4,8 +4,8 @@ from config import CONFIG
|
||||
from tkinter import messagebox
|
||||
from tkhtmlview import HTMLLabel
|
||||
|
||||
def createNcnuWin():
|
||||
ncnu = NcnuAPI(CONFIG['NCNU']['username'], CONFIG['NCNU']['password'])
|
||||
def createNcnuWin(ncnu):
|
||||
|
||||
if ncnu.status:
|
||||
def dlCurriculum(sem):
|
||||
if ncnu.getCourseTable(sem):
|
||||
@ -96,5 +96,3 @@ def createNcnuWin():
|
||||
|
||||
else:
|
||||
print("NCNU 教務系統登入失敗")
|
||||
|
||||
createNcnuWin()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user