Øystein Ingmar Skartsæterhagen
bf188c99ae
Added encoding from unicode to str in execute_query, and wrote wrapper functions with decoding for the cursor methods fetchone and fetchall. This means that from now on, one should never call these methods directly on cursor objects, but instead call execute_query, fetchone, fetchall, fetchone_dict or fetchall_dict in util.py. I plan to separate out this code to a new module (db.py?), and rewrite it in a way that makes it harder to write things like c.execute by mistake. |
||
---|---|---|
.. | ||
arguments.txt | ||
categories.txt | ||
commit-file-format.txt | ||
fileformat.py | ||
google_interface.py | ||
util.py | ||
worblehat.py |