Skip to content

Commit 56be5ba

Browse files
committed
Merge pull request #51 from milseg/master
UnicodeDecodeError corrected
2 parents ebf5dd4 + 837ab48 commit 56be5ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/m64py/core/core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ def plugin_load_try(self, plugin_path=None):
230230
plugin_handle, plugin_path, PLUGIN_NAME[plugin_type], plugin_desc, plugin_version)
231231
except OSError as e:
232232
log.debug("plugin_load_try()")
233+
plugin_path = plugin_path.decode('ascii', 'ignore')
234+
plugin_path = plugin_path.encode('ascii')
233235
log.error("failed to load plugin %s: %s" % (plugin_path, e))
234236

235237
def plugin_startup(self, handle, name, desc):

0 commit comments

Comments
 (0)