예제 #1
0
파일: examples.py 프로젝트: jsignell/bokeh
 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")