Пример #1
0
 def upload_imgs(self):
     if isfile(self.img_path):
         trace("%s Uploading image to S3 to %s" % (green(">>>"), self.img_path))
         upload_file_to_s3(self.img_path, self.img_url_path, "image/png")
     if isfile(self.diff_path):
         trace("%s Uploading image to S3 to %s" % (green(">>>"), self.diff_path))
         upload_file_to_s3(self.diff_path, self.diff_url_path, "image/png")
Пример #2
0
 def upload_imgs(self):
     if isfile(self.img_path):
         trace("%s Uploading image to S3 to %s" % (green(">>>"), self.img_path))
         upload_file_to_s3(self.img_path, self.img_url_path, "image/png")
     if isfile(self.diff_path):
         trace("%s Uploading image to S3 to %s" % (green(">>>"), self.diff_path))
         upload_file_to_s3(self.diff_path, self.diff_url_path, "image/png")