Skip to content

Commit

Permalink
Fixing TabError
Browse files Browse the repository at this point in the history
trello/board.py", line 222
    arguments["display/cardFront"] = u"true" if display_on_card else u"false"
                                                                            ^
TabError: inconsistent use of tabs and spaces in indentation
  • Loading branch information
rdorrigan authored Mar 2, 2021
1 parent 520666f commit 9b094dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion trello/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def update_custom_field_definition(self, custom_field_definition_id, name=None,
if name:
arguments["name"] = name
if not display_on_card is None:
arguments["display/cardFront"] = u"true" if display_on_card else u"false"
arguments["display/cardFront"] = u"true" if display_on_card else u"false"
if pos:
arguments["pos"] = pos

Expand Down Expand Up @@ -520,6 +520,8 @@ def get_power_ups(self, board_id=None, name='', filters=None):
if board_id is None:
board_id = self.id
if filters:
if not filters in ("enabled", "available"):
filers = "enabled"
arguments['filter'] = filters
json_obj = self.client.fetch_json(
'/boards/' + board_id +'/plugins',
Expand Down

0 comments on commit 9b094dd

Please sign in to comment.