diff options
| author | stuppie | 2026-03-15 17:16:36 -0600 |
|---|---|---|
| committer | stuppie | 2026-03-15 17:16:36 -0600 |
| commit | 563449abca2f7020291cf3ffc8011f62864a6fb9 (patch) | |
| tree | ba9bb0dbd52946d5873eead875e86b7e25a5bf78 | |
| parent | efd6e1f99afa2cea5e3642fd22d40d37a505d90a (diff) | |
| download | generalresearch-563449abca2f7020291cf3ffc8011f62864a6fb9.tar.gz generalresearch-563449abca2f7020291cf3ffc8011f62864a6fb9.zip | |
dig version prints to stderr on my machine and stdout on others?
| -rw-r--r-- | generalresearch/models/network/rdns/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] |
