From 9716de3765df42f32296384e36322912fdee167a Mon Sep 17 00:00:00 2001 From: thelamer Date: Mon, 3 Jun 2019 10:38:44 -0700 Subject: [PATCH] updates for python2 and try to slow down the upload loop to make DO happy --- ci/ci.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/ci.py b/ci/ci.py index dd469d0..2716b57 100755 --- a/ci/ci.py +++ b/ci/ci.py @@ -15,6 +15,8 @@ from jinja2 import Template client = docker.from_env() session = boto3.session.Session() +reload(sys) +sys.setdefaultencoding('utf8') # Global Vars global report_status @@ -314,6 +316,7 @@ def report_upload(): core_fail('Upload Error ' + str(error)) # Loop for all others for filename in os.listdir(outdir): + time.sleep(0.5) # Set content types for files if filename.lower().endswith('.svg'): CT = 'image/svg+xml'