Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c8feae commit b76a55cCopy full SHA for b76a55c
1 file changed
Lib/gettext.py
@@ -125,7 +125,7 @@ def install(self, unicode=0):
125
class GNUTranslations(NullTranslations):
126
# Magic number of .mo files
127
LE_MAGIC = 0x950412de
128
- BE_MAGIC = struct.unpack('>i', struct.pack('<i', LE_MAGIC))[0]
+ BE_MAGIC = 0xde120495
129
130
def _parse(self, fp):
131
"""Override this method to support alternative .mo formats."""
0 commit comments