packet.py - fixed syntax