Skip to content

Commit 566807e

Browse files
committed
修改IS_POST_METHOD:注释
1 parent a17f0db commit 566807e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

chinaapi/qq/weibo/open.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
't': lambda m: m in ['re_add', 'reply', 'comment', 'like', 'unlike'],
1111
'fav': lambda m: m in ['addht', 'addt', 'delht', 'delt'],
1212
'vote': lambda m: m in ['createvote', 'vote'],
13-
'list': lambda m: m != 'timeline', # 只有timeline接口是读接口,其他全是写接口
13+
'list': lambda m: m != 'timeline', # 只有timeline接口是读接口,其他全是写接口
1414
'lbs': lambda m: True # 全是写接口
1515
}
1616

@@ -38,7 +38,7 @@ def parse(response):
3838

3939

4040
class Client(ClientBase):
41-
#写接口
41+
# 写接口
4242
_post_methods = ['add', 'del', 'create', 'delete', 'update', 'upload']
4343

4444
def __init__(self, app=App(), token=Token(), openid=None, clientip=None):

0 commit comments

Comments
 (0)