You've already forked akaunting-py
Use scm for versioning
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import requests
|
||||
import json
|
||||
from requests.auth import HTTPBasicAuth
|
||||
from akauntingpy import exceptions
|
||||
from akauntingpy import exceptions, __version__
|
||||
from akauntingpy.helpers import *
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class Client(object):
|
||||
self.url = url
|
||||
self.authentication = HTTPBasicAuth(username, password)
|
||||
self.headers = {
|
||||
'User-Agent': 'AkauntingPy 1.0',
|
||||
'User-Agent': 'AkauntingPy v' + __version__,
|
||||
}
|
||||
self.company_id = company_id
|
||||
self.default_params = {'company_id': company_id}
|
||||
|
||||
Reference in New Issue
Block a user