diff --git a/main/modules/__pycache__/create.cpython-37.pyc b/main/modules/__pycache__/create.cpython-37.pyc index 69634df..a19dabf 100644 Binary files a/main/modules/__pycache__/create.cpython-37.pyc and b/main/modules/__pycache__/create.cpython-37.pyc differ diff --git a/main/modules/__pycache__/delete.cpython-37.pyc b/main/modules/__pycache__/delete.cpython-37.pyc index 2fb081f..91f6df3 100644 Binary files a/main/modules/__pycache__/delete.cpython-37.pyc and b/main/modules/__pycache__/delete.cpython-37.pyc differ diff --git a/main/modules/__pycache__/drop.cpython-37.pyc b/main/modules/__pycache__/drop.cpython-37.pyc index 4258034..c286a24 100644 Binary files a/main/modules/__pycache__/drop.cpython-37.pyc and b/main/modules/__pycache__/drop.cpython-37.pyc differ diff --git a/main/modules/__pycache__/index.cpython-37.pyc b/main/modules/__pycache__/index.cpython-37.pyc index 83a8ee6..e6ffd50 100644 Binary files a/main/modules/__pycache__/index.cpython-37.pyc and b/main/modules/__pycache__/index.cpython-37.pyc differ diff --git a/main/modules/__pycache__/insert.cpython-37.pyc b/main/modules/__pycache__/insert.cpython-37.pyc index 627bf58..efc6054 100644 Binary files a/main/modules/__pycache__/insert.cpython-37.pyc and b/main/modules/__pycache__/insert.cpython-37.pyc differ diff --git a/main/modules/__pycache__/select.cpython-37.pyc b/main/modules/__pycache__/select.cpython-37.pyc index 07901ad..2025e6d 100644 Binary files a/main/modules/__pycache__/select.cpython-37.pyc and b/main/modules/__pycache__/select.cpython-37.pyc differ diff --git a/main/modules/create.py b/main/modules/create.py index 97fa253..760338f 100644 --- a/main/modules/create.py +++ b/main/modules/create.py @@ -9,4 +9,5 @@ class create(object): with open('templates/create.html') as fh: index_f = fh.read() result = index_f.format(_title='create_strana', _heading='create') - return result \ No newline at end of file + fh.close() + return result diff --git a/main/modules/delete.py b/main/modules/delete.py index f3c0b86..4cfb52e 100644 --- a/main/modules/delete.py +++ b/main/modules/delete.py @@ -9,4 +9,5 @@ class delete(object): with open('templates/delete.html') as fh: index_f = fh.read() result = index_f.format(_title='delete_strana', _heading='delete') - return result \ No newline at end of file + fh.close() + return result diff --git a/main/modules/drop.py b/main/modules/drop.py index 01a30ff..9c2c026 100644 --- a/main/modules/drop.py +++ b/main/modules/drop.py @@ -9,4 +9,5 @@ class drop(object): with open('templates/drop.html') as fh: index_f = fh.read() result = index_f.format(_title='drop_strana', _heading='drop') - return result \ No newline at end of file + fh.close() + return result diff --git a/main/modules/index.py b/main/modules/index.py index 5fdf934..b89c8c7 100644 --- a/main/modules/index.py +++ b/main/modules/index.py @@ -9,4 +9,5 @@ class wellcome(object): with open('templates/index.html') as fh: index_f = fh.read() result = index_f.format(_title='Titulni_strana', _heading='Vítejte!') + fh.close() return result diff --git a/main/modules/insert.py b/main/modules/insert.py index 36ae8d8..ff6b04f 100644 --- a/main/modules/insert.py +++ b/main/modules/insert.py @@ -9,4 +9,5 @@ class insert(object): with open('templates/insert.html') as fh: index_f = fh.read() result = index_f.format(_title='insert_strana', _heading='insert') - return result \ No newline at end of file + fh.close() + return result diff --git a/main/modules/select.py b/main/modules/select.py index f5977c1..88e0700 100644 --- a/main/modules/select.py +++ b/main/modules/select.py @@ -9,4 +9,5 @@ class select(object): with open('templates/select.html') as fh: index_f = fh.read() result = index_f.format(_title='select_strana', _heading='select') - return result \ No newline at end of file + fh.close() + return result