Ver código fonte

Also copy markdown sources

Thomas Buck 9 anos atrás
pai
commit
79ab4ca04a
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      poole.py

+ 4
- 0
poole.py Ver arquivo

506
             elif re.search(MKD_PATT, f):
506
             elif re.search(MKD_PATT, f):
507
                 page = Page(opj(cwd, f))
507
                 page = Page(opj(cwd, f))
508
                 pages.append(page)
508
                 pages.append(page)
509
+                foo = opj(cwd, f)
510
+                bar = opj(dir_out, f)
511
+                print('info   : copy %s' % bar)
512
+                shutil.copyfile(foo, bar)
509
             else:
513
             else:
510
                 # either use a custom converter or do a plain copy
514
                 # either use a custom converter or do a plain copy
511
                 for patt, (func, ext) in custom_converter.items():
515
                 for patt, (func, ext) in custom_converter.items():

Carregando…
Cancelar
Salvar