Skip to content

Commit

Permalink
Minor fix following update to mypy 1.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon24 committed May 1, 2024
1 parent 402d50d commit ccf010c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/reader/_storage/_sqlite_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ def __call__(self) -> sqlite3.Connection:
self._other_threads = True

self._local.db = db = sqlite3.connect(self.path, **self.kwargs)
assert db is not None, "for mypy"
self._local.call_count = 0

# http://threebean.org/blog/atexit-for-threads/
Expand Down

0 comments on commit ccf010c

Please sign in to comment.