Example #1
0
def HandleSetup():
    assigned = False
    console.out(-1)
    while (not assigned):
        console.out(-2)
        inputVal = input("")
        inputVal = inputVal.replace("\\", "/")
        if (FileHandler.DoesFolderExist(inputVal)):
            #Create File
            FileHandler.UpdateSettingsFile(
                "sffpsl", inputVal)  #Update settings file first
            FileHandler.CreateSFFPSL(inputVal)
            FileHandler.CreateTestFile()
            assigned = True
        else:
            #Folder doesn't exist
            console.outs([-3, 0])