There is no else case in the two last nested 'if' statements. - Can 'results' be empty? What should we return in that case? - What should the method do if not results[0][1] == 'pdf' ?
Otherwise it looks okay.
« Back to merge proposal
There is no else case in the two last nested 'if' statements.
- Can 'results' be empty? What should we return in that case?
- What should the method do if not results[0][1] == 'pdf' ?
Otherwise it looks okay.