mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-29 13:30:24 +08:00
Plot_directive: copy source files to output.
This commit is contained in:
1 parent
d9c206b625
commit
c8bb8c6751
1 file changed
+2
@@ -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