Commits

Chris Adams committed 3ce3a5d

Bugfix: now possible to save page/resource lists

Missed during the last refactor

Comments (0)

Files changed (1)

bin/check_site.py

     spider.report.save(format=options.report_format, output=options.report_file)
 
     if options.page_list:
-        save_url_list(options.page_list, sorted(spider.pages))
+        save_url_list(options.page_list, sorted(spider.report.pages))
 
     if options.resource_list:
-        save_url_list(options.resource_list, sorted(spider.resources))
+        save_url_list(options.resource_list, sorted(spider.report.resources))
 
 if "__main__" == __name__:
     main()