Tp python getand post

This is the second time you are checking if the code is 401. First time is at line 103.