The problem is that your function pdf_combiner() never gets called. In your code try/except block is indented the function,so Python just defines the functions and exits without ever executing it.
You can fix it by moving the function call outside and passing the output filename.