Skip to content

Commit bceafc1

Browse files
committed
1.8.8
1 parent b914c78 commit bceafc1

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

watchdogs/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
from .config import Config
44
from .main import init_app
55

6-
__version__ = '1.8.7'
6+
__version__ = '1.8.8'
77
__all__ = ['Config', 'init_app']
88
logging.getLogger('watchdogs').addHandler(logging.NullHandler())

watchdogs/app.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,7 @@ async def lite(
521521
params = {'group_ids': group_ids}
522522
else:
523523
params = {'tag': tag}
524-
home_url = Config.get_route('/lite', **params)
525-
context['home_url'] = home_url
524+
context['home_url'] = Config.get_route('/lite', **params)
526525
if has_more:
527526
if group_ids:
528527
last_page_url = Config.get_route('/lite', page=page + 1, **params)
@@ -587,8 +586,7 @@ async def feeds(
587586
params = {'group_ids': group_ids}
588587
else:
589588
params = {'tag': tag}
590-
home_url = Config.get_route('/feeds', **params)
591-
context['home_url'] = home_url
589+
context['home_url'] = Config.get_route('/feeds', **params)
592590
if has_more:
593591
if group_ids:
594592
next_page_url = Config.get_route('/feeds', page=page + 1, **params)

0 commit comments

Comments
 (0)