Don’t rely on query being ‘bytes’ because it might not necessarily be of that type
Don’t rely on query being ‘bytes’ because it might not necessarily be of that type

Some strings come from Perl already encoded into ‘str’ for whatever reason. So, try not to touch queries which look like psycopg2 ones.

berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud