mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-15 21:32:28 +01:00
python3: decode the bytes received from get_resources()
We're combining it with a str type.
This commit is contained in:
parent
a2c558d864
commit
15a79ee0ca
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ class FanFicFarePlugin(InterfaceAction):
|
|||
# get_resources will return a dictionary mapping names to bytes. Names that
|
||||
# are not found in the zip file will not be in the returned dictionary.
|
||||
|
||||
text = get_resources('about.html')
|
||||
text = get_resources('about.html').decode('utf-8')
|
||||
AboutDialog(self.gui,self.qaction.icon(),self.version + text).exec_()
|
||||
|
||||
def create_menu_item_ex(self, parent_menu, menu_text, image=None, tooltip=None,
|
||||
|
|
|
|||
Loading…
Reference in a new issue