Update partner.py

Line 107 generates this error: NameError: global name 'part' is not defined