Skip to content

Commit

Permalink
Correct None handling in kwarg.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmymathews committed Jul 27, 2023
1 parent 7284cf2 commit 4a12e87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spatialprofilingtoolbox/db/feature_matrix_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ def __init__(self,
'cursor.'
logger.warning(message)
self.cursor = cast(Psycopg2Cursor, cursor)
if cursor is not None:
self.database_config_file = database_config_file
self.database_config_file = database_config_file

def extract(self,
specimen: str | None=None,
Expand Down

0 comments on commit 4a12e87

Please sign in to comment.