Skip to content

Commit 8c50370

Browse files
committed
Fix duplication of the type check
1 parent 0f6b9bc commit 8c50370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mindsdb_sql_parser/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def create_kb(self, p):
126126
model = params.pop('model', None)
127127
storage = params.pop('storage', None)
128128

129-
if isinstance(model, str):
129+
if isinstance(storage, str):
130130
# convert to identifier
131131
storage = Identifier(storage)
132132

0 commit comments

Comments
 (0)