Skip to content
Snippets Groups Projects
Commit 37db83e6 authored by Philipp Goymann's avatar Philipp Goymann
Browse files

pretty fie log of upload

parent d082e40e
No related branches found
No related tags found
No related merge requests found
*.pyc
test_script.py
build
dist
\ No newline at end of file
dist
main.py
.vscode/
loosolab_s3.egg-info/
setup.cfg
\ No newline at end of file
......@@ -444,7 +444,8 @@ class Loosolab_s3:
else:
self.transfer.upload_file(local_file_name, bucket_name, file_name)
#self.session.Bucket(bucket_name).upload_file(local_file_name, file_name, Config=self.transfer)
self.logger.info("File " + str(local_file_name) + ' gets uploaded! ' + str(count) + ' of ' + str(len(file_list)))
self.logger.info(str(count) + '/' + str(len(file_list)) + " File " + str(local_file_name) + ' gets uploaded! ' )
count += 1
except Exception as e:
self.__exception_log__("S3: Uploading files failed!" ,e)
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment