diff --git a/webexteamssdk/utils.py b/webexteamssdk/utils.py index 8c75708..94d42eb 100644 --- a/webexteamssdk/utils.py +++ b/webexteamssdk/utils.py @@ -32,6 +32,7 @@ from future import standard_library standard_library.install_aliases() +native_str = str import json import mimetypes @@ -255,7 +256,8 @@ class ZuluTimeZone(tzinfo): def tzname(self, dt): """Time Zone Name.""" - return str("Z") + # The future package's newstr is messing with Python2 compatibility + return native_str("Z") def utcoffset(self, dt): """UTC Offset."""