From 8e68e344b0aa2d0a788600677fae2561b3cd8750 Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Sat, 23 Nov 2024 15:45:46 -0800 Subject: [PATCH] Report tool name to the server better --- examples/toolshell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/toolshell.py b/examples/toolshell.py index b609f71..97d7609 100644 --- a/examples/toolshell.py +++ b/examples/toolshell.py @@ -3,6 +3,7 @@ import cmd import shlex import os.path +import sys from typing import Optional import ptsl @@ -41,7 +42,7 @@ def run_command_on_session(self, command_id: pt.CommandId, def do_connect(self, _): 'Connect to Pro Tools' self.client = ptsl.client.Client(company_name="py-ptsl", - application_name="Toolshell") + application_name=sys.argv[0]) if self.client is not None: self.prompt = "(pt) "