def endline():
    global filopt, logfile
    if -1 > filopt['verbosity']:
        ostr = '*** Ending log session on ' + str(datetime.today())[0:-7] + '. ***'
        logfile.write(ostr+'\n')
        logfile.close()
dataset/ETHPy150Open franapoli/pyleaf/pyleaf/log.py/endline/swapped operands of `>`