mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-19 11:27:45 +08:00
Plot_directive: copy source files to output.
This commit is contained in:
@@ -342,6 +342,8 @@ def run(arguments, content, options, state_machine, state, lineno):
|
||||
f = open(target_name, 'w')
|
||||
f.write(unescape_doctest(code))
|
||||
f.close()
|
||||
else:
|
||||
shutil.copy(source_file_name, dest_dir)
|
||||
|
||||
return []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user