Изменил(а) на 'import.py'
This commit is contained in:
parent
76ad6059ca
commit
e9e0e2d9ea
|
@ -9,7 +9,7 @@ with open('c:\obmen\import.csv', newline='') as csvfile:
|
||||||
sp2=row[1]
|
sp2=row[1]
|
||||||
alkokode=row[2]
|
alkokode=row[2]
|
||||||
if (sp2):
|
if (sp2):
|
||||||
res = cur.execute("SELECT * FROM excise_stamp WHERE number='" + marka +"'")
|
res = cur.execute("SELECT * FROM excise_stamp WHERE number='" + marka +"' LIMIT 1")
|
||||||
#if (res.fetchone() is None):
|
#if (res.fetchone() is None):
|
||||||
massiv=res.fetchall()
|
massiv=res.fetchall()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue