Fix error in aws.py result()