From 18588c06f1603586e3badfeb8f4f7a6ff159a138 Mon Sep 17 00:00:00 2001 From: Raffu Khondaker <2022rkhondak@tjhsst.edu> Date: Thu, 4 Jun 2020 23:05:54 -0400 Subject: [PATCH] Update commands.py --- CLI/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CLI/commands.py b/CLI/commands.py index ebb7d88..1780d32 100644 --- a/CLI/commands.py +++ b/CLI/commands.py @@ -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):