From 54491cb9c9d19c492718c7c95dccb42d69de8d49 Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Tue, 28 May 2024 18:44:01 -0400 Subject: [PATCH] fix(seautils): convert port number to a string --- seautils/seautils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seautils/seautils.py b/seautils/seautils.py index c7e732f..85df38e 100644 --- a/seautils/seautils.py +++ b/seautils/seautils.py @@ -93,7 +93,7 @@ class SeaUtils(commands.Cog): command_opts: list[str | int] = ['dig'] if server: command_opts.extend(['@', server]) - command_opts.extend([name, type, '-p', port, '+yaml']) + command_opts.extend([name, type, '-p', str(port), '+yaml']) try: process: Process = await asyncio.create_subprocess_exec(*command_opts, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE)