Skip to content

Commit 8ee7ed5

Browse files
Merge pull request #107 from ChuckWoodraska/ID-1500
ID-1500 add identifier for when user uses wrapper through cli
2 parents a3c560a + d343c69 commit 8ee7ed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

domaintools/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def run(): # pragma: no cover
7575
sys.stderr.write('Credentials are required to perform API calls.\n')
7676
sys.exit(1)
7777

78-
api = API(user, key, verify_ssl=arguments.pop('verify_ssl'), rate_limit=arguments.pop('rate_limit'))
78+
api = API(user, key, app_name="python_wrapper_cli", verify_ssl=arguments.pop('verify_ssl'), rate_limit=arguments.pop('rate_limit'))
7979
api_call = arguments.pop('api_call')
8080
response = getattr(api, api_call)(**arguments)
8181
if api_call in ["available_api_calls"]:

0 commit comments

Comments
 (0)