File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,12 @@ def run(self):
154
154
155
155
media_dir = os .path .join (setup .confdir , "media" )
156
156
images_dir = os .path .join (media_dir , "images" )
157
+ tex_dir = os .path .join (media_dir , "tex" )
158
+ if not os .path .exists (tex_dir ):
159
+ os .mkdir (tex_dir )
160
+ text_dir = os .path .join (media_dir , "text" )
161
+ if not os .path .exists (text_dir ):
162
+ os .mkdir (text_dir )
157
163
video_dir = os .path .join (media_dir , "videos" )
158
164
output_file = f"{ clsname } -{ classnamedict [clsname ]} "
159
165
@@ -163,6 +169,8 @@ def run(self):
163
169
f'config["pixel_width"] = { pixel_width } ' ,
164
170
f'file_writer_config["media_dir"] = "{ media_dir } "' ,
165
171
f'file_writer_config["images_dir"] = "{ images_dir } "' ,
172
+ f'file_writer_config["tex_dir"] = "{ tex_dir } "' ,
173
+ f'file_writer_config["text_dir"] = "{ text_dir } "' ,
166
174
f'file_writer_config["video_dir"] = "{ video_dir } "' ,
167
175
f'file_writer_config["save_last_frame"] = { save_last_frame } ' ,
168
176
f'file_writer_config["save_as_gif"] = { save_as_gif } ' ,
You can’t perform that action at this time.
0 commit comments