diff --git a/pyproject.toml b/pyproject.toml index aa92fd1..e1b7895 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "rda_python_common" -version = "1.0.47" +version = "1.0.48" authors = [ { name="Zaihua Ji", email="zji@ucar.edu" }, ] diff --git a/src/rda_python_common/PgLOG.py b/src/rda_python_common/PgLOG.py index 574435f..54ce0e2 100644 --- a/src/rda_python_common/PgLOG.py +++ b/src/rda_python_common/PgLOG.py @@ -335,7 +335,7 @@ def send_python_email(subject = None, receiver = None, msg = None, sender = None emlmsg['Cc'] = cc logmsg += " Cc'd " + cc if not subject: subject = "Message from {}-{}".format(PGLOG['HOSTNAME'], get_command()) - if not re.search(r'!$', subject): subject += '!' + # if not re.search(r'!$', subject): subject += '!' emlmsg['Subject'] = subject if CPID['CPID']: logmsg += " in " + CPID['CPID'] logmsg += ", Subject: {}\n".format(subject)