Commit 53a63316 authored by kernel.h@qq.com's avatar kernel.h@qq.com

修改读取pdf的时候的参数错误

parent 3fb325dd
...@@ -99,7 +99,7 @@ def json_command(json, method): ...@@ -99,7 +99,7 @@ def json_command(json, method):
s3_rw = S3ReaderWriter( s3_rw = S3ReaderWriter(
s3_ak, s3_sk, s3_endpoint, "auto", remove_non_official_s3_args(s3path) s3_ak, s3_sk, s3_endpoint, "auto", remove_non_official_s3_args(s3path)
) )
may_range_params = parse_s3_range_params(json) may_range_params = parse_s3_range_params(s3path)
if may_range_params is None or 2 != len(may_range_params): if may_range_params is None or 2 != len(may_range_params):
byte_start, byte_end = 0, None byte_start, byte_end = 0, None
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment