def save(self, filename):
    if (filename.endswith('-music') or filename.endswith('_music')):
        print('not saving music track')
        return
    f = open(filename, 'w')
    for p in self.points:
        f.write(('%s %r\n' % p))
    f.close()
def save(self, filename):
    if (filename.endswith('-music') or filename.endswith('_music')):
        print('not saving music track')
        return
    f = open(filename, 'w')
    for p in self.points:
        f.write(('%s %r\n' % p))
    f.close()