Bugfix: activation.py

Reversed updates from commit b47c214
This commit is contained in:
Alan Mason 2017-12-03 14:57:34 -08:00
parent 3b31b7fd29
commit 9193c16090

View file

@ -4,9 +4,10 @@ import subprocess
from borrowed import acpi
from functions.common import *
from os import environ
# Variables
SLMGR = r'{}\System32\slmgr.vbs'.format(global_vars['Env']['SYSTEMROOT'])
SLMGR = r'{}\System32\slmgr.vbs'.format(environ.get('SYSTEMROOT'))
def activate_with_bios():
"""Attempt to activate Windows with a key stored in the BIOS."""