From 18eb8516e997aeab873ed7241d372b559fe0d24c Mon Sep 17 00:00:00 2001
From: Nikolai Mork <nikolmo@stud.ntnu.no>
Date: Thu, 12 Mar 2020 14:23:07 +0100
Subject: [PATCH] Apply suggestion to soitool/database.py

---
 soitool/database.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/soitool/database.py b/soitool/database.py
index e5c92de..61b0762 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 = ?"
-- 
GitLab