From f893cadfbe75003b16541346efc259ae6780e40f Mon Sep 17 00:00:00 2001 From: kounch Date: Sun, 3 Mar 2019 20:27:46 +0100 Subject: [PATCH] More changes for Python 3 --- comicbookinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comicbookinfo.py b/comicbookinfo.py index 38b025c..e1edaba 100644 --- a/comicbookinfo.py +++ b/comicbookinfo.py @@ -32,7 +32,7 @@ class ComicBookInfo: def metadataFromString( self, string ): - cbi_container = json.loads( unicode(string, 'utf-8') ) + cbi_container = json.loads( str(string, 'utf-8') ) metadata = GenericMetadata()