diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/probe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/probe.py b/src/utils/probe.py index 4600ff4..d14146c 100644 --- a/src/utils/probe.py +++ b/src/utils/probe.py @@ -52,8 +52,8 @@ def getwindowsversion(winreghives): 'microsoft\windows nt\currentversion', 'ReleaseId'], stdout=PIPE) - proc_prodname = proc_releaseid.stdout.replace('\n', '') - releaseid = proc_releaseid.stdout.replace('\n', '') + prodname = proc_prodname.stdout.decode().replace('\n', '') + releaseid = proc_releaseid.stdout.decode().replace('\n', '') if proc_prodname.returncode == 0 and proc_releaseid.returncode == 0: return f'{prodname} {releaseid}' |