diff --git a/aws_push.py b/aws_push.py index f99a2062ad19dcd8abcace2c33454a12575189e3..17645bed840e58a87598d2cb8903c4bac583aed5 100644 --- a/aws_push.py +++ b/aws_push.py @@ -8,6 +8,6 @@ s3_client = boto3.client('s3') try: response = s3_client.upload_file("/" + filename, os.getenv('bucket'), filename) -except Exception, e: +except Exception as e: print('Error uploading to s3') print(e)