← Back to team overview

sikuli-driver team mailing list archive

[Question #173873]: indent

 

New question #173873 on Sikuli:
https://answers.launchpad.net/sikuli/+question/173873

def LoggFileHandler(logg):
    Append2LoggFile("entering LoggFileHandler("+logg+")")
if firstTime == 0:
		if os.path.isfile(LoggFile):    #check if logg file exists
			os.remove(LoggFile)         #delete if first time program runs
			Append2LoggFile("removed old logg file")
			Append2LoggFile(" ")
			CreateLoggFile()            #create new logg file
			Append2LoggFile(logg)
    	else:
            CreateLoggFile()            #if not found create new  
            Append2LoggFile(logg)         
	else:
		Append2LoggFile(logg)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.