Skip to content

Commit f2e9062

Browse files
authored
Fixes timezone get on win32 (#4494)
JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo [email protected]
1 parent 2bad20a commit f2e9062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/runners/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def set_timezone_and_exit(timezone):
3737

3838
def get_timezone():
3939
assert sys.platform == 'win32', "get_timezone is Windows only function"
40-
return subprocess.check_output(['cmd', '/S', '/C', 'tzutil', '/g'])
40+
return subprocess.check_output(['cmd', '/S', '/C', 'tzutil', '/g'], universal_newlines=True)
4141

4242

4343
def set_sighdl_to_reset_timezone(timezone):

0 commit comments

Comments
 (0)