diff --git a/dds_web/api/project.py b/dds_web/api/project.py index 7132ccd2d..3ff013968 100644 --- a/dds_web/api/project.py +++ b/dds_web/api/project.py @@ -292,10 +292,9 @@ def patch(self): db.session.rollback() raise - return_message = f"{project.public_id} has been given a new deadline" - - return_message += ( - f". An e-mail notification has{' not ' if not send_email else ' '}been sent." + return_message = ( + f"{project.public_id} has been given a new deadline. " + f"An e-mail notification has{' not ' if not send_email else ' '}been sent." ) else: # leave it for future new functionality of updating the status