Added call to trackVisitor for helping with app statistics
This commit is contained in:
parent
13b19fec75
commit
08484d9807
@ -17,6 +17,8 @@ class vkObject(object):
|
||||
self.client = API(s, v=self.api_version)
|
||||
log.debug("Getting tokens for 24 hours...")
|
||||
self.client.account.getProfileInfo()
|
||||
# Add session data to the application statistics.
|
||||
self.client.stats.trackVisitor()
|
||||
|
||||
def login_access_token(self, token):
|
||||
log.debug("Logging in VK using stored tokens...")
|
||||
|
Loading…
Reference in New Issue
Block a user