Compare commits

...

2 Commits

Author SHA1 Message Date
Eugen Ciur c5a0be464c version bump 2021-02-21 15:23:48 +01:00
Eugen Ciur 6fecc4d60f minor fix 2021-02-21 15:22:42 +01:00
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = mglib name = mglib
version = 1.3.6 version = 1.3.7
description = Common code used across all Papermerge project utilities description = Common code used across all Papermerge project utilities
long_description = file: README.rst long_description = file: README.rst
url = https://www.papermerge.com/ url = https://www.papermerge.com/