From 3a0b57b50fbf29fe853488d106fe0fe77506e709 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 12 Oct 2017 13:47:44 -0400 Subject: [PATCH] Fixed typo --- netbox/extras/management/commands/runreport.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/netbox/extras/management/commands/runreport.py b/netbox/extras/management/commands/runreport.py index 9adf6b130..05083b7f7 100644 --- a/netbox/extras/management/commands/runreport.py +++ b/netbox/extras/management/commands/runreport.py @@ -12,7 +12,6 @@ class Command(BaseCommand): def add_arguments(self, parser): parser.add_argument('reports', nargs='+', help="Report(s) to run") - # parser.add_argument('--verbose', action='store_true', default=False, help="Print all logs") def handle(self, *args, **options): @@ -22,7 +21,7 @@ class Command(BaseCommand): # Run reports for module_name, report_list in reports: for report in report_list: - if module_name in options['reports'] or report.full_namel in options['reports']: + if module_name in options['reports'] or report.full_name in options['reports']: # Run the report and create a new ReportResult self.stdout.write(