mnefun.safe_inserter

mnefun.safe_inserter(string, inserter)

Insert a subject name into a string if %s is present.

Parameters:
stringstr

String to fill.

inserterstr

The string to put in string if '%s' is present.

Returns:
stringstr

The modified string.