practices-of-the-python-pro
practices-of-the-python-pro copied to clipboard
Issue in Ch06, database.py
trafficstars
In method select the query never gets a closing ;
The query works but you should always add the semicolon.
To fix it, add this right before the return statement:
query += ';'
Thanks @bluekeybo, I'll add this to the errata!