Skip to content

Commit

Permalink
fixes #699
Browse files Browse the repository at this point in the history
  • Loading branch information
fzumstein committed Jul 5, 2017
1 parent 0266adf commit cc46b76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xlwings/ext/sql.py
@@ -1,4 +1,4 @@
from .. import func, arg, ret, serve
from xlwings import func, arg, ret, serve
import sqlite3


Expand All @@ -25,8 +25,8 @@ def sql(query, *tables):
cols = table[0]
rows = table[1:]
types = [
any(type(row[i]) is str for row in rows)
for i in range(len(cols))
any(type(row[j]) is str for row in rows)
for j in range(len(cols))
]
name = chr(65 + i)

Expand Down

0 comments on commit cc46b76

Please sign in to comment.