From fc89aa847cdd1ff20d40f98ea32308c47a16981b Mon Sep 17 00:00:00 2001 From: Richard Chien Date: Sat, 3 Dec 2016 21:38:08 +0800 Subject: [PATCH] Remove a useless line --- commands/zhihu.py | 1 - 1 file changed, 1 deletion(-) diff --git a/commands/zhihu.py b/commands/zhihu.py index 9b8a365b..1e58a9cc 100644 --- a/commands/zhihu.py +++ b/commands/zhihu.py @@ -21,7 +21,6 @@ def zhihu_daily(args_text, ctx_msg): sub_url = '/latest' else: m = re.match('(\d{4})-(\d{2})-(\d{2})', arg) - # and arg >= '20130519': if m and ''.join(m.groups()) >= '20130519': thedate = date(year=int(m.group(1)), month=int(m.group(2)), day=int(m.group(3))) sub_url = '/before/' + (thedate + timedelta(days=1)).strftime('%Y%m%d')