Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zip file not recognized #8

Open
Hunsu opened this issue Jul 27, 2014 · 0 comments
Open

Zip file not recognized #8

Hunsu opened this issue Jul 27, 2014 · 0 comments

Comments

@Hunsu
Copy link

Hunsu commented Jul 27, 2014

This test you use to test if the file is zip or not is not correct :
if(data == nil or data:find("<?xml version", 1, true) ~= 1)
I removed this test from the code (assuming that OS return always zip files) and it's working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant