Skip to content
Snippets Groups Projects
Commit 00cbc831 authored by Oskari Lahtinen's avatar Oskari Lahtinen :speech_balloon:
Browse files

minor fixes

parent 95e5e7bc
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment