Skip to content

Commit

Permalink
Add check and fix for python3 unicode assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
tsunaminoai committed Sep 7, 2018
1 parent 0a0d680 commit aae3317
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions trello/customfield.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
from __future__ import with_statement, print_function, absolute_import

import time
import sys
from trello import TrelloBase
from trello.compat import force_str

is_python3 = sys.version_info.major == 3
if is_python3:
unicode = str


class CustomFieldDefinition(TrelloBase):
"""
Expand Down

0 comments on commit aae3317

Please sign in to comment.