Пример #1
0
def VerifySFFPSL():
    canVerify = False
    global isInConfirm

    if (FileHandler.ReadSFFPSL()):
        #Now check contents of file are valid
        if (FileHandler.CheckTestFile()):
            canVerify = True
            return True
    if (not canVerify and isInConfirm == False):
        isInConfirm = True
        #Coudn't verify/find SFFPSL file
        console.out(-4)
        console.Wait(0.5)

        #Now give user option to change file location
        didCommand = True
        while (didCommand):
            console.out(-5)
            inputVal = input("")
            didCommand = ParseForCommand(inputVal)
        if (not VerifySFFPSL()):
            EndProgram(False)
    return False