Move this here

This commit is contained in:
Watchful1 2024-05-19 19:45:15 -07:00
parent c5bf0ef593
commit e79bb322cc
2 changed files with 3 additions and 3 deletions

View file

@ -28,9 +28,9 @@ reg = re.compile(r"\d\d-\d\d-\d\d_\d\d-\d\d")
def build_month(month, input_folder, output_folder, file_type, compression_level): def build_month(month, input_folder, output_folder, file_type, compression_level):
if args.type == "comment": if file_type == "comments":
prefix = "RC" prefix = "RC"
elif args.type == "submission": elif file_type == "submissions":
prefix = "RS" prefix = "RS"
else: else:
log.error(f"Invalid type: {args.type}") log.error(f"Invalid type: {args.type}")

View file

@ -201,7 +201,7 @@ def process(queue, base_folder, month, file_type, type_stages, reddit_username,
start_date, start_date,
input_folder, input_folder,
base_folder, base_folder,
file_type, file_type+"s",
compression_level compression_level
) )
queue.put((file_type, "build", True)) queue.put((file_type, "build", True))