活動視窗

This commit is contained in:
molaboon 2021-07-03 17:12:13 +08:00
parent fd888a0473
commit 781eb55010

10
rigestryWin.py Normal file
View File

@ -0,0 +1,10 @@
from api.eventRigestry import EventRegistry
from config import CONFIG
rigestry=EventRegistry(CONFIG['moodle']['username'], CONFIG['moodle']['password'])
if rigestry.status:
for a in rigestry.getEventsList():
print(a)
else:
print("NO")