mirror of
https://github.com/Rushilwiz/SkoolOS.git
synced 2025-04-20 12:20:18 -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:
|
#Read classes/assignenments and setup directory:
|
||||||
#SkoolOS/Math/Week1
|
#SkoolOS/Math/Week1
|
||||||
for c in user["classes"]:
|
for c in user["classes"]:
|
||||||
os.makedirs(c)
|
os.makedirs("../" + c)
|
||||||
for a in user["classes"][c]:
|
for a in user["classes"][c]:
|
||||||
os.makedirs(c + "/" + a)
|
os.makedirs("../" + c + "/" + a)
|
||||||
|
|
||||||
def start():
|
def start():
|
||||||
if(os.path.exists(".login.txt") == False):
|
if(os.path.exists(".login.txt") == False):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user