[comments]: pep8
This commit is contained in:
parent
0e896cbf34
commit
16f81de968
@ -8,9 +8,6 @@ import settings
|
|||||||
|
|
||||||
import json
|
import json
|
||||||
import base64
|
import base64
|
||||||
import urllib
|
|
||||||
import re
|
|
||||||
import traceback
|
|
||||||
|
|
||||||
import flask
|
import flask
|
||||||
from flask import request
|
from flask import request
|
||||||
@ -34,7 +31,7 @@ def make_comment_ctoken(video_id, sort=0, offset=0, lc='', secret_key=''):
|
|||||||
secret_key = proto.as_bytes(secret_key)
|
secret_key = proto.as_bytes(secret_key)
|
||||||
|
|
||||||
|
|
||||||
page_info = proto.string(4,video_id) + proto.uint(6, sort)
|
page_info = proto.string(4, video_id) + proto.uint(6, sort)
|
||||||
offset_information = proto.nested(4, page_info) + proto.uint(5, offset)
|
offset_information = proto.nested(4, page_info) + proto.uint(5, offset)
|
||||||
if secret_key:
|
if secret_key:
|
||||||
offset_information = proto.string(1, secret_key) + offset_information
|
offset_information = proto.string(1, secret_key) + offset_information
|
||||||
|
Loading…
x
Reference in New Issue
Block a user