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 9fb1a16 commit 6822015Copy full SHA for 6822015
manim/_config/cfg_subcmds.py
@@ -238,11 +238,12 @@ def export(path):
238
else:
239
proceed = True
240
if proceed:
241
+ parser = make_config_parser()
242
if not os.path.isdir(path):
243
console.print(f"Creating folder: {path}.", style="red bold")
244
os.mkdir(path)
245
with open(os.path.join(path, "manim.cfg"), "w") as outpath:
- config.write(outpath)
246
+ parser.write(outpath)
247
from_path = os.path.join(os.getcwd(), "manim.cfg")
248
to_path = os.path.join(path, "manim.cfg")
249
console.print(f"Exported final Config at {from_path} to {to_path}.")
0 commit comments