diff --git a/soitool/database.py b/soitool/database.py index e5c92de16413b55b69b4cd98ab2ac95633da28af..61b07628b89e6187275cf041b5eaec7efa1f21e0 100644 --- a/soitool/database.py +++ b/soitool/database.py @@ -184,7 +184,7 @@ class Database: codes = soitool.coder.get_code_set(number_of_entries, code_len) # Statement for update stmt = "UPDATE CodeBook SET Code = ?" - # Wiping Code column because of UNIQUE + # Inserting NULL into Code column because of UNIQUE constraint self.conn.execute(stmt, (None,)) # Fill Code column with new codes stmt = stmt + "WHERE Word = ?"