fix typos
This commit is contained in:
parent
75926b5b8c
commit
38b74f5ebf
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
|||
import asyncio
|
||||
import subprocess
|
||||
import csv
|
||||
import gzip
|
||||
import logging
|
||||
|
@ -196,9 +197,9 @@ async def main_with_ctx(ctx, wanted_date):
|
|||
|
||||
log.info("going to process posts")
|
||||
|
||||
line_count_str = subprocess.check_output(
|
||||
["wc", "-l", output_compressed_paths["posts"]], stdout=subprocess.PIPE
|
||||
)
|
||||
line_count_str, _path = subprocess.check_output(
|
||||
["wc", "-l", output_uncompressed_paths["posts"]]
|
||||
).split()
|
||||
line_count = int(line_count_str)
|
||||
|
||||
with output_uncompressed_paths["posts"].open(
|
||||
|
|
Loading…
Reference in a new issue