Skip to content

Commit

Permalink
updates for python2 and try to slow down the upload loop to make DO h…
Browse files Browse the repository at this point in the history
…appy
  • Loading branch information
thelamer committed Jun 3, 2019
1 parent f96d9b2 commit 9716de3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 9716de3

Please sign in to comment.