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

import_logs.py doesn't acknowledge azw3 as download #4786

Closed
anonymous-matomo-user opened this issue Mar 3, 2014 · 3 comments
Closed

import_logs.py doesn't acknowledge azw3 as download #4786

anonymous-matomo-user opened this issue Mar 3, 2014 · 3 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@anonymous-matomo-user
Copy link

In import_logs.py I added an additional line that includes the azw3 file extension:

DOWNLOAD_EXTENSIONS = (
    <default filetypes>
    'azw3 epub mobi'
).split()

The reports generated from this script will mark epub and mobi as file downloads, but not azw3.

@mattab
Copy link
Member

mattab commented Mar 4, 2014

In df72733: Fixes #4786 Adding ebook formats to piwik.js download tracking and log importer

@anonymous-matomo-user
Copy link
Author

I appreciate how quickly you updated for ebooks! However, is it possible you can confirm the bug I reported with import_logs.py doesn't occur? Because the change you made to the file is exactly how I made it, and azw3 files are not being flagged as downloads. I ran the script twice on the same machine, 2 different files, same results both times, but that was with 2.0.3.

@mattab
Copy link
Member

mattab commented Mar 6, 2014

In 47cc9a2: Refs #4786 Adding forgotten white space.
Cheers for the follow up!

sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants