diff --git a/aiodatalite/migrations.py b/aiodatalite/migrations.py index 160472f..8bfc4a7 100644 --- a/aiodatalite/migrations.py +++ b/aiodatalite/migrations.py @@ -106,7 +106,7 @@ def _modify_records( for record in data: record_mod = {} for key in record.keys(): - if key in col_to_del and key in flow: + if key in col_to_del and flow and key in flow: record_mod[flow[key]] = record[key] elif key in col_to_del: pass diff --git a/docs/conf.py b/docs/conf.py index 4670f1e..7c4dcdd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,7 +24,7 @@ copyright = "2020, Ege Ozkan; 2024, hhh" author = "Ege Ozkan, hhh" # The full version, including alpha/beta/rc tags -release = "v1.0.1" +release = "v1.0.2" # -- General configuration --------------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index 2a98a77..deeb85f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "aiodatalite" -version = "1.0.1" +version = "1.0.2" description = "A simple Python library to bind dataclasses with databases. Now asynchronous!" authors = ["hhh ", "Ege Ozkan "] documentation = "https://aiodatalite.readthedocs.io"