diff --git a/shazam-tags.py b/shazam-tags.py index 49f6b67..40e1394 100644 --- a/shazam-tags.py +++ b/shazam-tags.py @@ -21,6 +21,7 @@ raise UserWarning("Could not find Shazam Database") connection = sqlite3.connect(db_path) +connection.text_factory = lambda x: x cursor = connection.cursor() results = cursor.execute( ''' @@ -32,6 +33,6 @@ ) for result in results: - print '{0} - {1}'.format(result[0], result[1]) + print b'{0} - {1}'.format(result[0], result[1]) connection.close()