Skip to content

Commit

Permalink
disable unicode assertion in woodenphone's _fetch_boards_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
antonizoon committed Apr 8, 2019
1 parent 57ff0d2 commit 6fb0fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py8chan/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _fetch_boards_metadata(url_generator):
for board in boards_list:
assert(type(board) is dict)# This should be a dict of board attributes.
uri = board['uri']
assert(type(board) is unicode)# This should be text.
# assert(type(board) is unicode)# This should be text. (Not working? wtf)
data[uri] = board
_metadata.update(data)

Expand Down

0 comments on commit 6fb0fa8

Please sign in to comment.