diff --git a/awx/main/management/commands/gather_analytics.py b/awx/main/management/commands/gather_analytics.py index ad0eddeb50..91708cb8c1 100644 --- a/awx/main/management/commands/gather_analytics.py +++ b/awx/main/management/commands/gather_analytics.py @@ -25,7 +25,7 @@ class Command(BaseCommand): def handle(self, *args, **options): tgz = gather() self.init_logging() - if not tgz: + if tgz: self.logger.debug(tgz) if options.get('ship'): ship(tgz)