活動視窗
This commit is contained in:
parent
fd888a0473
commit
781eb55010
10
rigestryWin.py
Normal file
10
rigestryWin.py
Normal 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")
|
||||||
Loading…
Reference in New Issue
Block a user