From 563449abca2f7020291cf3ffc8011f62864a6fb9 Mon Sep 17 00:00:00 2001 From: stuppie Date: Sun, 15 Mar 2026 17:16:36 -0600 Subject: dig version prints to stderr on my machine and stdout on others? --- generalresearch/models/network/rdns/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generalresearch/models/network/rdns/command.py b/generalresearch/models/network/rdns/command.py index aa48f2a..e88a84d 100644 --- a/generalresearch/models/network/rdns/command.py +++ b/generalresearch/models/network/rdns/command.py @@ -31,5 +31,5 @@ def get_dig_version() -> str: check=False, ) # e.g. DiG 9.18.39-0ubuntu0.22.04.2-Ubuntu - ver_str = proc.stderr.strip() + ver_str = proc.stderr.strip() + proc.stdout.strip() return ver_str.split("-", 1)[0].split(" ", 1)[1] -- cgit v1.2.3