Skip to content

Commit

Permalink
Fixed get favourite board parse error
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingMan authored and CodingMan committed May 8, 2021
1 parent 6a07778 commit 4b0d591
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion PyPtt/_api_get_favourite_board.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ def get_favourite_board(api) -> list:
screen_buf = list(filter(None, screen_buf))

for i, line in enumerate(screen_buf):
# print(i)
if '------------' in line:
continue
# 16 = line.find('◎')
linebuff = line[:16].strip()

Expand Down
2 changes: 1 addition & 1 deletion PyPtt/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@


V = '0.9.44'
V = '0.9.46'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
'progressbar2',
'websockets=0.8.1',
'websockets==8.1',
'uao',
'SingleLog'
],
Expand Down

0 comments on commit 4b0d591

Please sign in to comment.