Изменил(а) на 'import.py'

This commit is contained in:
yurec 2023-05-25 21:13:54 +05:00
parent 76ad6059ca
commit e9e0e2d9ea
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ with open('c:\obmen\import.csv', newline='') as csvfile:
sp2=row[1]
alkokode=row[2]
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):
massiv=res.fetchall()
try: