minor fix

master
Eugen Ciur 2021-02-21 15:22:42 +01:00
parent 21a9ebb57b
commit 6fecc4d60f
1 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ class Storage:
if os.path.exists(abs_dirname_results):
os.rmdir(abs_dirname_results)
def copy_doc(self, src, dst):
def copy_doc(self, src: DocumentPath, dst: DocumentPath):
"""
copy given file src file path to destination
as absolute doc_path
@ -156,7 +156,7 @@ class Storage:
f"copy_doc: {src} to {dst}"
)
shutil.copyfile(
src,
self.abspath(src),
self.abspath(dst)
)