Skip to content

Commit 6647d23

Browse files
authored
Merge pull request #67 from tino097/bugfix/duplication-code-block
Fix duplication of the type check
2 parents 0f6b9bc + 8c50370 commit 6647d23

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)