fix: general bugfixes, display errors
This commit is contained in:
+23
-12
@@ -4,16 +4,27 @@ from lib import schedule_week as sw
|
||||
from lib import schedule_tdy_tmr as st
|
||||
|
||||
if __name__ == "__main__":
|
||||
user = str(input("Zadejte přihlašovací jméno: "))
|
||||
pwd = str(input("Zadejte heslo: "))
|
||||
user = str(input("Zadejte přihlašovací jméno: "))
|
||||
pwd = str(input("Zadejte heslo: "))
|
||||
|
||||
|
||||
if nw.is_connected() == True:
|
||||
nw.login(user, pwd)
|
||||
|
||||
|
||||
if nw.is_connected() == True:
|
||||
nw.login(user, pwd)
|
||||
#sw.get_schedule_week("/SOL/App/Kalendar/KZK001_KalendarTyden.aspx")
|
||||
sw.show_schedule_week()
|
||||
#gr.get_grades("/SOL/App/Hodnoceni/KZH001_HodnVypisStud.aspx")
|
||||
gr.show_grades()
|
||||
#sw.schedule_week_to_file()
|
||||
#gr.grades_to_file()
|
||||
#sw.schedule_week_from_file()
|
||||
st.show_schedule_tdy_tmr()
|
||||
#sw.get_schedule_week("/SOL/App/Kalendar/KZK001_KalendarTyden.aspx")
|
||||
#sw.schedule_week_to_file()
|
||||
#sw.schedule_week_from_file()
|
||||
sw.show_schedule_week()
|
||||
|
||||
|
||||
#gr.get_grades("/SOL/App/Hodnoceni/KZH001_HodnVypisStud.aspx")
|
||||
#gr.grades_to_file()
|
||||
#gr.grades_from_file()
|
||||
gr.show_grades()
|
||||
|
||||
|
||||
#st.get_schedule("/SOL/App/Spolecne/KZZ010_RychlyPrehled.aspx")
|
||||
#st.schedule_tdy_tmr_to_file()
|
||||
#st.schedule_tdy_tmr_from_file()
|
||||
st.show_schedule_tdy_tmr()
|
||||
|
||||
Reference in New Issue
Block a user