Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
palaviv committed Apr 13, 2017
1 parent 1723ed2 commit 365ad2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/includes/sqlite3/complete_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
if buffer.lstrip().upper().startswith("SELECT"):
print(cur.fetchall())
except sqlite3.Error as e:
msg = str(e))
msg = str(e)
error_code = e.sqlite_errorcode
error_name = e.sqlite_name
print(f"Error {error_name} [Errno {error_code}]: {msg}")
Expand Down

0 comments on commit 365ad2a

Please sign in to comment.