def writeSettingsPrintMessage(repository):
 writeSettings(repository)
 print (repository.title.lower().capitalize() + ' have been saved.')

def writeSettingsPrintMessage ( repository ) : writeSettings ( repository ) print ( repository . title . lower ( ) . capitalize ( ) + ' have been saved.' )
set the settings to the dialog then write them .