Commit 7b1bf0c3 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

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

It allows to "import foo.bar", but not "from foo import bar".
parent 719f8c04
......@@ -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[] = {")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment