Update commands.py

This commit is contained in:
Raffu Khondaker 2020-06-04 23:05:54 -04:00
parent 327c2ed793
commit 18588c06f1

View File

@ -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):