Bugfix: Setting Windows time should work again

* Was using the wrong variable name
This commit is contained in:
2Shirt 2018-01-28 18:19:57 -07:00
parent 012da00821
commit 3ac2d8d1d4

View file

@ -192,7 +192,7 @@ def config_explorer_user():
def update_clock():
"""Set Timezone and sync clock."""
run_program(['tzutil' ,'/s', TIME_ZONE], check=False)
run_program(['tzutil' ,'/s', WINDOWS_TIME_ZONE], check=False)
run_program(['net', 'stop', 'w32ime'], check=False)
run_program(
['w32tm', '/config', '/syncfromflags:manual',