short_filepath (method)

short_filepath(filepath, length=40)[source]

truncate a filepath string to the specified length but at least returns the filename