eagleflo / mpyq

Python library for reading MPQ archives.
BSD 2-Clause "Simplified" License
99 stars 23 forks source link

read_file behaviour when file is not present #10

Closed tw33dl3dee closed 13 years ago

tw33dl3dee commented 13 years ago

read_file would throw an AttributeError when trying to read file not present in hash table, while returning None when file is present but has no EXISTS bit set. This unifies read_file behaviour to returning None.

eagleflo commented 13 years ago

Thanks for the contribution! Merged.