Skip to content

Commit eda362d

Browse files
committed
fix breaking news empty link bug.
1 parent af6e047 commit eda362d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bbcli/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ def set_latest_links(self, link):
306306
def next(self, loop, *args):
307307
text = self.tickers
308308
if(not text):
309+
self.link = ''
309310
self.view.set_footer(urwid.AttrWrap(urwid.Text(""), 'body'))
310311
else:
311312
self.loop.draw_screen()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name='bbcli',
6-
version='0.2.2',
6+
version='0.2.3',
77
description='Browse BBC News like a hacker. (based on pyhackernews)',
88
long_description=open('README.rst').read(),
99
license=open('LICENSE').read(),

0 commit comments

Comments
 (0)