Bugfix: Setting Windows time should work again
* Was using the wrong variable name
This commit is contained in:
parent
012da00821
commit
3ac2d8d1d4
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ def config_explorer_user():
|
||||||
|
|
||||||
def update_clock():
|
def update_clock():
|
||||||
"""Set Timezone and sync 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(['net', 'stop', 'w32ime'], check=False)
|
||||||
run_program(
|
run_program(
|
||||||
['w32tm', '/config', '/syncfromflags:manual',
|
['w32tm', '/config', '/syncfromflags:manual',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue