Skip to content

Commit

Permalink
Python2 Compatibility
Browse files Browse the repository at this point in the history
Ensure tzname() returns a string (not unicode).
  • Loading branch information
cmlccie committed Sep 9, 2018
1 parent d11d02c commit 341f456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webexteamssdk/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class ZuluTimeZone(tzinfo):

def tzname(self, dt):
"""Time Zone Name."""
return "Z"
return str("Z")

def utcoffset(self, dt):
"""UTC Offset."""
Expand Down

0 comments on commit 341f456

Please sign in to comment.