def unicode_safe(string):
    """return an ascii repr of the string"""
    # Jun 21, 2019 - DRW - I'm not sure the reason for this
    # or if it is still necessary in Python3....
    return string.encode("ascii", "ignore").decode("ascii")
return an ascii repr of the string
app/flowsynth.py