Bugfix: Was trying to use 'Env' before it was set.
This commit is contained in:
parent
cd3f3ed8d3
commit
5aab8a98e3
2 changed files with 3 additions and 1 deletions
|
|
@ -3,7 +3,6 @@
|
|||
from functions.data import *
|
||||
|
||||
# STATIC VARIABLES
|
||||
DISKPART_SCRIPT = r'{}\diskpart.script'.format(global_vars['Env']['TMP'])
|
||||
WINDOWS_VERSIONS = [
|
||||
{'Name': 'Windows 7 Home Basic',
|
||||
'Image File': 'Win7',
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ init_global_vars()
|
|||
set_title('{}: Root Menu'.format(KIT_NAME_FULL))
|
||||
global_vars['LogFile'] = r'{LogDir}\WinPE.log'.format(**global_vars)
|
||||
|
||||
# STATIC VARIABLES
|
||||
DISKPART_SCRIPT = r'{}\diskpart.script'.format(global_vars['Env']['TMP'])
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
menu_root()
|
||||
|
|
|
|||
Loading…
Reference in a new issue