Typo fix
This commit is contained in:
parent
9d93341489
commit
984b075978
|
@ -24,7 +24,7 @@ while True:
|
||||||
if buffer.lstrip().upper().startswith("SELECT"):
|
if buffer.lstrip().upper().startswith("SELECT"):
|
||||||
print cur.fetchall()
|
print cur.fetchall()
|
||||||
except sqlite3.Error, e:
|
except sqlite3.Error, e:
|
||||||
print "An error occured:", e.args[0]
|
print "An error occurred:", e.args[0]
|
||||||
buffer = ""
|
buffer = ""
|
||||||
|
|
||||||
con.close()
|
con.close()
|
||||||
|
|
Loading…
Reference in New Issue