def write(self, text):
    fixed = text.replace('\n', '')
    if (fixed != ''):
        _ollyapi.Addtolist(0, 0, fixed)
def write(self, text):
    fixed = text.replace('\n', )
    if (fixed != ):
        _ollyapi.Addtolist(0, 0, fixed)