mirror of
https://github.com/Rushilwiz/SkoolOS.git
synced 2025-04-16 02:10:19 -04:00
new skoolos.py
This commit is contained in:
parent
c3f44606e3
commit
a6500b4353
|
@ -62,7 +62,6 @@ def main():
|
|||
teacherCLI(USER, PWD)
|
||||
|
||||
|
||||
|
||||
# while True:
|
||||
# pass
|
||||
def studentCLI(user, password):
|
||||
|
@ -212,7 +211,6 @@ def teacherCLI(user, password):
|
|||
#print("Assignments: " + n)
|
||||
b = False
|
||||
if(not os.path.isdir(teacher.username + "/" + course + "/" + n)):
|
||||
nlist.remove(n)
|
||||
b = False
|
||||
if(b):
|
||||
tlist.append(n)
|
||||
|
@ -231,6 +229,9 @@ def teacherCLI(user, password):
|
|||
},
|
||||
]
|
||||
ass = prompt(questions)['assignment']
|
||||
apath = teacher.username + "/" + course + "/" + ass
|
||||
|
||||
teacher.addAssignment(apath, course, due)
|
||||
|
||||
|
||||
def getUser(ion_user, password, utype):
|
||||
|
|
Loading…
Reference in New Issue
Block a user