Closed phileepae closed 6 years ago
We probably need to only run the twitter export portion when we have the box ticked and a nonempty results object.
Also @phileepae I just fixed the reddit date field in commit acf00644ec8c5c79833f7ff656994d4a9507ff7b
fixed via commit : d26b927 error catching for reddit & twitter added
User gets errors if Twitter Object is empty and the export is attempted.
Twitter Errors: When twitter box is not selected, search is performed, export button is pressed: TypeError at /download/ string indices must be integers, not str _Note: error is at socialmonomania\views.py in download, line 134
When twitter box is selected, search is performed, twitter object is empty, export button is pressed (search for a special character, such as underscore, to yield these results): KeyError at /download/ 'statuses' _Note: error is at socialmonomania\views.py in download, line 134