From 00cbc831596ea0a15c69212caa0a88ca6c149e6e Mon Sep 17 00:00:00 2001
From: Oskari Lahtinen <osklahti@jyu.fi>
Date: Mon, 13 May 2024 14:55:41 +0300
Subject: [PATCH] minor fixes

---
 alusta.py  | 2 +-
 tyopaja.py | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/alusta.py b/alusta.py
index 4a97ef4..7e3cb12 100644
--- a/alusta.py
+++ b/alusta.py
@@ -4,7 +4,7 @@ import sqlite3
 with open("data.json") as f:
     data = json.load(f)
 
-# alustetaan tietokantayhteys ja -kursori
+# alustetaan tietokantayhteys ja -kursori 
 con = sqlite3.connect("tietokanta.db")
 cur = con.cursor()
 
diff --git a/tyopaja.py b/tyopaja.py
index ee77832..76c5646 100644
--- a/tyopaja.py
+++ b/tyopaja.py
@@ -39,3 +39,5 @@ while True:
         tykkaa(tulos, cur)
     else:
         print("syöte ei ollut validi!")
+# lopuksi
+con.close()
\ No newline at end of file
-- 
GitLab