Skip to content

Commit

Permalink
Fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
xzkostyan committed Sep 20, 2023
1 parent 671cb07 commit caeec0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clickhouse_driver/columns/datecolumn.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def before_write_items(self, items, nulls_map=None):
items[i] = null_value
continue

if type(item) != date:
if item is not date:
item = date(item.year, item.month, item.day)

if min_value <= item <= max_value:
Expand Down

0 comments on commit caeec0a

Please sign in to comment.