File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ def get_title_list(s: str) -> list:
255255 shutil .rmtree (root , ignore_errors = True )
256256 os .mkdir (root )
257257
258- with open (" template/methods.rst" ) as f :
258+ with open (HOME + "/ template/methods.rst" ) as f :
259259 template = f .read ()
260260
261261 with open (root + "/index.rst" , "w" ) as f :
@@ -349,7 +349,7 @@ def get_title_list(s: str) -> list:
349349 shutil .rmtree (root , ignore_errors = True )
350350 os .mkdir (root )
351351
352- with open (" template/types.rst" ) as f :
352+ with open (HOME + "/ template/types.rst" ) as f :
353353 template = f .read ()
354354
355355 with open (root + "/index.rst" , "w" ) as f :
@@ -439,7 +439,7 @@ def get_title_list(s: str) -> list:
439439 shutil .rmtree (root , ignore_errors = True )
440440 os .mkdir (root )
441441
442- with open (" template/bound-methods.rst" ) as f :
442+ with open (HOME + "/ template/bound-methods.rst" ) as f :
443443 template = f .read ()
444444
445445 with open (root + "/index.rst" , "w" ) as f :
You can’t perform that action at this time.
0 commit comments