Skip to content

Commit

Permalink
Merge branch '4-construction-of-s3-path-is-wrong-when-directory-ends-…
Browse files Browse the repository at this point in the history
…with' into 'develop-pmnet'

Resolve "Construction of s3 path is wrong when directory ends with "/'"

Closes elixir-cloud-aai#4

See merge request precmed/deployment/tesk-core!4
  • Loading branch information
acharal committed Apr 12, 2019
2 parents 88a1eac + 2e1a257 commit 2ee2e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tesk_core/transput_filer.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def upload_dir(self):
for listing in os.listdir(self.path):

file_path = self.path + '/' + listing
object_path = self.url + '/' + listing
object_path = self.url + listing if (self.url.endswith('/')) else self.url + '/' + listing
#
if os.path.isdir(file_path):
ftype = Type.Directory
Expand Down

0 comments on commit 2ee2e3a

Please sign in to comment.