Skip to content

Commit

Permalink
Report tool name to the server better
Browse files Browse the repository at this point in the history
  • Loading branch information
iluvcapra committed Nov 23, 2024
1 parent 7ab79ff commit 8e68e34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/toolshell.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import cmd
import shlex
import os.path
import sys
from typing import Optional

import ptsl
Expand Down Expand Up @@ -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) "

Expand Down

0 comments on commit 8e68e34

Please sign in to comment.