removes leftover pdb debug line in query_post_upload