mirror of
https://github.com/Rushilwiz/SkoolOS.git
synced 2025-04-18 19:30:19 -04:00
Update commands.py
This commit is contained in:
parent
327c2ed793
commit
18588c06f1
|
@ -118,9 +118,9 @@ def setup(user):
|
|||
#Read classes/assignenments and setup directory:
|
||||
#SkoolOS/Math/Week1
|
||||
for c in user["classes"]:
|
||||
os.makedirs(c)
|
||||
os.makedirs("../" + c)
|
||||
for a in user["classes"][c]:
|
||||
os.makedirs(c + "/" + a)
|
||||
os.makedirs("../" + c + "/" + a)
|
||||
|
||||
def start():
|
||||
if(os.path.exists(".login.txt") == False):
|
||||
|
|
Loading…
Reference in New Issue
Block a user