Fixed NoneType error in 'alignment.format()'

This error arose when there was a timeout in either add or align. Both
return None, which doesn’t have a format method.