diff --git a/fundamentals/mysql/convert_dictionary_to_mysql_table.py b/fundamentals/mysql/convert_dictionary_to_mysql_table.py
index <HASH>..<HASH> 100644
--- a/fundamentals/mysql/convert_dictionary_to_mysql_table.py
+++ b/fundamentals/mysql/convert_dictionary_to_mysql_table.py
@@ -461,7 +461,7 @@ def convert_dictionary_to_mysql_table(
                     dup = """%(dup)s `%(k)s`=%(v)s AND """ % locals()
             dup = dup[:-5] + ", dateLastModified, NOW())"
         else:
-            dup = dup[:-1] + ")"
+            dup = dup[:-1]
 
     # log.debug(myValues+" ------ POSTSTRIP")
     addValue = insertVerb + """ INTO `""" + dbTableName + \
testing moving updates to insert into list of dictionaries into database