Closed tkrajina closed 11 years ago
If invoking this script for an invalid MPQ file, the header variable is not initalized and the script fails with the following error:
UnboundLocalError: local variable 'header' referenced before assignment
Better to throw a more specific message.
You're right. Thanks for the contribution!
If invoking this script for an invalid MPQ file, the header variable is not initalized and the script fails with the following error:
UnboundLocalError: local variable 'header' referenced before assignment
Better to throw a more specific message.