Support empty filter

This commit is contained in:
Watchful1 2023-08-21 21:45:58 -07:00
parent f7146593a0
commit 78c1814a60

View file

@ -7,7 +7,7 @@ from datetime import datetime
import logging.handlers
# put the path to the input file
input_file = r"\\MYCLOUDPR4100\Public\reddit\submissions\RS_2023-02.zst"
input_file = r"\\MYCLOUDPR4100\Public\reddit\subreddits\redditdev_submissions.zst"
# put the name or path to the output file. The file extension from below will be added automatically
output_file = r"\\MYCLOUDPR4100\Public\output"
# the format to output in, pick from the following options
@ -233,6 +233,7 @@ if __name__ == "__main__":
if created > to_date:
continue
if field is not None:
field_value = obj[field].lower()
matched = False
for value in values: