tools/make-frozen.py: Quick fix to support package-modules.

It allows to "import foo.bar", but not "from foo import bar".
This commit is contained in:
Paul Sokolovsky 2016-05-14 16:30:02 +03:00
parent 719f8c044a
commit 7b1bf0c308
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ print("#include <stdint.h>")
print("const char mp_frozen_str_names[] = {")
for f, st in modules:
m = module_name(f)
print('"%s\\0"' % m)
print('"%s\\0"' % m.replace("/", "."))
print('"\\0"};')
print("const uint32_t mp_frozen_str_sizes[] = {")