Unboundlocalerror Local Variable Path Referenced Before Assignment

Unboundlocalerror Local Variable Path Referenced Before Assignment