mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
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:
@@ -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 = """\
|
||||
|
||||
Reference in New Issue
Block a user