From 4852a10bb2ea7c5c0096b95554911d170d8db736 Mon Sep 17 00:00:00 2001 From: Simon Schick Date: Thu, 10 Sep 2020 14:04:54 +0200 Subject: [PATCH] Fix Python method "set_time_zone" exception message (#1713) --- client-py/src/Session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-py/src/Session.py b/client-py/src/Session.py index 00b3bf5403..f9ee8f0384 100644 --- a/client-py/src/Session.py +++ b/client-py/src/Session.py @@ -451,6 +451,6 @@ class Session(object): status = self.__client.setTimeZone(request) print("setting time zone_id as {}, message: {}".format(zone_id, status.message)) except TTransport.TException as e: - print("Could not get time zone because: ", e) + print("Could not set time zone because: ", e) raise Exception self.__zone_id = zone_id -- GitLab