From 3ac2d8d1d4176bcf1b4e4b92803f987563b0b9c1 Mon Sep 17 00:00:00 2001 From: 2Shirt <1923621+2Shirt@users.noreply.github.com> Date: Sun, 28 Jan 2018 18:19:57 -0700 Subject: [PATCH] Bugfix: Setting Windows time should work again * Was using the wrong variable name --- .bin/Scripts/functions/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bin/Scripts/functions/setup.py b/.bin/Scripts/functions/setup.py index 41ca3340..bd40f9e5 100644 --- a/.bin/Scripts/functions/setup.py +++ b/.bin/Scripts/functions/setup.py @@ -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',