Revert "pywxrc: fix embedded resources in python 2.7 and 3"

This reverts commit 234491058f now that
memoryview works properly on python 2.7.
This commit is contained in:
Jeremy Drake
2020-07-02 22:38:36 -07:00
parent 357a350837
commit 4a292c3cda

View File

@@ -226,7 +226,7 @@ def __init_resources():
"""
ADD_FILE_TO_MEMFS = """\
wx.MemoryFSHandler.AddFile('XRC/%(memoryPath)s/%(filename)s', bytearray(%(filename)s))
wx.MemoryFSHandler.AddFile('XRC/%(memoryPath)s/%(filename)s', memoryview(%(filename)s))
"""
LOAD_RES_MEMFS = """\