Commit dcb1326a authored by Robert Bradshaw's avatar Robert Bradshaw

Merge pull request #84 from Juntalis/master

Specifying a custom main function with --embed= causes a TypeError
parents 6f7bc67e b471d7c9
...@@ -89,7 +89,7 @@ def parse_command_line(args): ...@@ -89,7 +89,7 @@ def parse_command_line(args):
elif option == "--embed": elif option == "--embed":
Options.embed = "main" Options.embed = "main"
elif option.startswith("--embed="): elif option.startswith("--embed="):
Options.embed = options[8:] Options.embed = option[8:]
elif option.startswith("-I"): elif option.startswith("-I"):
options.include_path.append(get_param(option)) options.include_path.append(get_param(option))
elif option == "--include-dir": elif option == "--include-dir":
......
Markdown is supported
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