Flask-Analytics icon indicating copy to clipboard operation
Flask-Analytics copied to clipboard

Update analytics.py

Open Xumeiquer opened this issue 9 years ago • 2 comments

self.app should be available in init_app as well, otherwise it will fail when calling source function.

Xumeiquer avatar Oct 12 '16 18:10 Xumeiquer

Coverage Status

Coverage increased (+0.006%) to 99.254% when pulling 2be6ae06399dbcc1a00af35b4e6a4f5185300e48 on Xumeiquer:master into 48bea12574a038d6af0424c83470ebe6d70527fa on citruspi:master.

coveralls avatar Oct 12 '16 18:10 coveralls

I'm wanting to use this package at work and am hitting the same bug. I can confirm that this pr fixes the error I'm getting. I know this pr is two years old, but if there's any way it could be merged and pypi updated, it'd be a great benefit to a good number of people (as searching Flask Google analytics pulls this project up as the first result).

le717 avatar Jan 10 '19 20:01 le717