diff --git a/nise/generators/aws/data_transfer_generator.py b/nise/generators/aws/data_transfer_generator.py index a65fa207..8bb69863 100644 --- a/nise/generators/aws/data_transfer_generator.py +++ b/nise/generators/aws/data_transfer_generator.py @@ -49,9 +49,10 @@ def __init__(self, start_date, end_date, currency, payer_account, usage_accounts @property def direction(self): - if self._direction: + if self._direction is not None: return self._direction.capitalize() + # Purposefully not caching this value so a different value is returned on each call return choice(self.DATA_TRANSFER_DIRECTIONS).capitalize() def _get_data_transfer(self, rate):